Part Number Hot Search : 
SMP11 R48D1 40110 PSMR150K 1002A R48D1 TVS324 PSMR150K
Product Description
Full Text Search
 

To Download IT8673F Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 IT8673F
Advanced Input / Output (Advanced I/O)
Preliminary Specification V0.5
Copyright 2002 ITE, Inc. This is Preliminary document release. All specifications are subject to change without notice. The material contained in this document supersedes all previous documentation issued for the related products included herein. Please contact ITE, Inc. for the latest document(s). All sales are subject to ITE's Standard Terms and Conditions, a copy of which is included in the back of this document. ITE, IT8673F is a trademark of ITE, Inc. Intel, Pentium, and MMX are claimed as trademarks by Intel Corp. Cyrix, M1, and SLiC/MP are claimed as trademarks by Cyrix Corp. AMD, AMD-K5, and AMD-K6 are claimed as trademarks by Advanced Micro Devices, Inc. Microsoft and Windows are claimed as trademarks by Microsoft Corporation. PCI is claimed as a trademark by the PCI Special Interest Group. IrDA is claimed as a trademark by the Infrared Data Association. All other trademarks are claimed by their respective owners. All specifications are subject to change without notice. Additional copies of this manual or other ITE literature may be obtained from: ITE, Inc. Marketing Department 8F, No. 233-1, Bao Chiao Rd., Hsin Tien Taipei County 231, Taiwan, R.O.C. ITE (USA) Inc. Marketing Department 1235 Midas Way Sunnyvale, CA 94086 U.S.A. ITE (USA) Inc. Eastern U.S.A. Sales Office 896 Summit St., #105 Round Rock, TX 78664 U.S.A. Phone: Fax: (02) 2912-6889 (02) 2910-2551, 2910-2552
Phone: Fax:
(408) 530-8860 (408) 530-8861
Phone: Fax:
(512) 388-7880 (512) 388-3108
If you have any marketing or sales questions, please contact: Lawrence Liu, at ITE Taiwan: E-mail: lawrence.liu@ite.com.tw, Tel: 886-2-29126889 X6071, Fax: 886-2-29102551 David Lin, at ITE U.S.A: E-mail: david.lin@iteusa.com, Tel: (408) 980-8168 X238, Fax: (408) 980-9232 Don Gardenhire, at ITE Eastern USA Office: E-mail: don.gardenhire@iteusa.com, Tel: (512) 388-7880, Fax: (512) 388-3108 To find out more about ITE, visit our World Wide Web at: http://www.ite.com.tw http://www.iteusa.com Or e-mail itesupport@ite.com.tw for more product information/services.
Revision History
Section Revision
The content of the copyright page has been revised.
Page No.
1
CONTENTS
Page 1. Features ....................................................................................................................................................... 1 2. General Description .................................................................................................................................... 2 3. Block Diagram ............................................................................................................................................. 3 4. Pinout Table................................................................................................................................................. 4 5. Pin Configuration ........................................................................................................................................ 5 6. IT8673F Pin Descriptions ........................................................................................................................... 6 7. Special Pin Routings ................................................................................................................................ 11 8. List of GPIO Pins....................................................................................................................................... 12 9. Power On Strapping Options................................................................................................................... 13 10. Configuration............................................................................................................................................. 14 10.1 10.2 10.3 Configuring Sequence Description .....................................................................................................14 Description of the Configuration Registers .........................................................................................16 Logical Device Base Address ...................................................................................................... 20 Configure Control (Index=02h) .................................................................................................... 21 Logical Device Number (LDN, Index=07h) .................................................................................. 21 Chip ID Byte 1 (Index=20h, Default=86h).................................................................................... 21 Chip ID Byte 2 (Index=21h, Default=73h).................................................................................... 21 Chip Version (Index=22h, Default=01h) ...................................................................................... 21 Clock Selection Register (Index=23h, Default=00h).................................................................... 21 Software Suspend (Index=24h, Default=00h, MB PnP) .............................................................. 21 GPIO Multi-Function Pin Selection Register (Index=25h, Default=00h)...................................... 22 Reserved Register (Index=26h, Default=00h) ............................................................................. 22 Global Configuration Registers (LDN: All) ..........................................................................................21
10.2.1 10.3.1 10.3.2 10.3.3 10.3.4 10.3.5 10.3.6 10.3.7 10.3.8 10.3.9
10.3.10 Reserved Register (Index=27h, Default=00h) ............................................................................. 22 10.3.11 Reserved Register (Index=28h, Default=00h) ............................................................................. 22 10.3.12 Reserved Register (Index=29h, Default=00h) ............................................................................. 22 10.3.13 Test 1 Register (Index=2Eh, Default=00h) .................................................................................. 22 10.3.14 Test 2 Register (Index=2Fh, Default=00h) .................................................................................. 22 10.4 FDC Configuration Registers (LDN=00h) ...........................................................................................22 FDC Activate (Index=30h, Default=00h)...................................................................................... 22 FDC Base Address MSB Register (Index=60h, Default=03h)..................................................... 23 FDC Base Address LSB Register (Index=61h, Default=F0h) ..................................................... 23 FDC Interrupt Level Select (Index=70h, Default=06h) ................................................................ 23 FDC DMA Channel Select (Index=74h, Default=02h) ................................................................. 23 FDC Special Configuration Register (Index=F0h, Default=00h) ................................................. 23 Serial Port 1 Activate (Index=30h, Default=00h) ......................................................................... 23 Serial Port 1 Base Address MSB Register (Index=60h, Default=03h).......................................... 24 i 10.4.1 10.4.2 10.4.3 10.4.4 10.4.5 10.4.6 10.5 10.5.1 10.5.2
Serial Port 1 Configuration Registers (LDN=01h)...............................................................................23
10.5.3 10.5.4 10.5.5 10.6 10.6.1 10.6.2 10.6.3 10.6.4 10.6.5 10.6.6 10.6.7 10.6.8 10.6.9 10.7 10.7.1 10.7.2 10.7.3 10.7.4 10.7.5 10.7.6 10.7.7 10.7.8 10.8 10.8.1 10.8.2 10.8.3 10.8.4 10.8.5 10.8.6 10.8.7 10.8.8 10.8.9
Serial Port 1 Base Address LSB Register (Index=61h, Default=F8h)........................................... 24 Serial Port 1 Interrupt Level Select (Index=70h, Default=04h).................................................... 24 Serial Port 1 Special Configuration Register (Index=F0h, Default=00h) ..................................... 24 Serial Port 2 Activate (Index=30h, Default=00h) .........................................................................24 Serial Port 2 Base Address MSB Register (Index=60h, Default=02h).......................................... 25 Serial Port 2 Base Address LSB Register (Index=61h, Default=F8h)........................................... 25 Consumer IR Base Address MSB Register (Index=62h, Default=03h)......................................... 25 Consumer IR Base Address LSB Register (Index=63h, Default=00h).......................................... 25 Serial Port 2 Interrupt Level Select (Index=70h, Default=03h).................................................... 25 Consumer IR Interrupt Level Select (Index=72h, Default=00h) .................................................. 25 Serial Port 2 Special Configuration Register 1 (Index=F0h, Default=00h) .................................. 26 Serial Port 2 Special Configuration Register 2 (Index=F1h, Default=40h) .................................. 26 Parallel Port Activate (Index=30h, Default=00h) ......................................................................... 26 Parallel Port Primary Base Address MSB Register (Index=60h, Default=03h)............................. 26 Parallel Port Primary Base Address LSB Register (Index=61h, Default=78h) ............................ 27 Parallel Port Secondary Base Address MSB Register (Index=62h, Default=07h)........................ 27 Parallel Port Secondary Base Address LSB Register (Index=63h, Default=78h) ....................... 27 Parallel Port Interrupt Level Select (Index =70h, Default=07h) ................................................... 27 Parallel Port DMA Channel Select (Index=74h, Default=03h)..................................................... 27 Parallel Port Special Configuration Register (Index=F0h, Default=03h) ..................................... 27 FAN Controller Activate Register (Index=30h, Default=00h)....................................................... 28 FAN Controller Base Address MSB Register (Index=60h, Default=00h)...................................... 28 FAN Controller Base Address LSB Register (Index=61h, Default=80h)....................................... 28 PME# Direct Access Base Address MSB Register (Index=62h, Default=02h)............................. 28 PME# Direct Access Base Address LSB Register (Index=63h, Default=00h).............................. 28 FAN Controller Interrupt Level Select (Index=70h, Default=09h)................................................ 28 APC/PME# Event Enable Register (PER) (Index=F0h, Default=00h)......................................... 29 APC/PME# Status Register (PSR) (Index=F1h, Default=00h).................................................... 29 APC/PME# Control Register 1 (PCR 1) (Index=F2h, Default=00h) ............................................ 30
Serial Port 2 Configuration Registers (LDN=02h)...............................................................................24
Parallel Port Configuration Registers (LDN=03h) ...............................................................................26
FAN Controller Configuration Registers (LDN=04h)...........................................................................28
10.8.10 FAN Controller Special Configuration Register (Index=F3h, Default=00h) ................................. 30 10.8.11 APC/PME# Control Register 2 (PCR 2) (Index=F4h, Default=00h) ............................................ 30 10.8.12 APC/PME# Special Code Index Register (Index=F5h) ............................................................... 31 10.8.13 APC/PME# Special Code Data Register (Index=F6h) ................................................................ 31 10.9 KBC (keyboard) Configuration Registers (LDN=05h) .........................................................................31 KBC (keyboard) Activate (Index=30h, Default=01h or 00h) ........................................................ 31 KBC (keyboard) Data Base Address MSB Register (Index=60h, Default=00h).......................... 31 KBC (keyboard) Data Base Address LSB Register (Index=61h, Default=60h)........................... 31 KBC (keyboard) Command Base Address MSB Register (Index=62h, Default=00h)................. 31 KBC (keyboard) Command Base Address LSB Register (Index=63h, Default=64h).................. 31 ii 10.9.1 10.9.2 10.9.3 10.9.4 10.9.5
10.9.6 10.9.7 10.9.8
KBC (keyboard) Interrupt Level Select (Index=70h, Default=01h) .............................................. 32 KBC (keyboard) Interrupt Type (Index=71h, Default=02h).......................................................... 32 KBC (keyboard) Special Configuration Register (Index=F0h, Default=00h).................................... 32
10.10 KBC (mouse) Configuration Registers (LDN=06h) .............................................................................32 10.10.1 KBC (mouse) Activate (Index=30h, Default=00h) ....................................................................... 32 10.10.2 KBC (mouse) Interrupt Level Select (Index=70h, Default=0Ch)..................................................... 32 10.10.3 KBC (mouse) Interrupt Type (Index=71h, Default=02h).............................................................. 33 10.10.4 KBC (mouse) Special Configuration Register (Index=F0h, Default=00h) ................................... 33 10.11 GPIO Configuration Registers (LDN=07h)..........................................................................................33 10.11.1 CS0 Base Address MSB Register (Index=60h, Default=00h) ..................................................... 33 10.11.2 CS0 Base Address LSB Register (Index=61h, Default=00h) ...................................................... 33 10.11.3 CS1 Base Address MSB Register (Index=62h, Default=00h) ..................................................... 33 10.11.4 CS1 Base Address LSB Register (Index=63h, Default=00h) ...................................................... 33 10.11.5 CS2 Base Address MSB Register (Index=64h, Default=00h) ..................................................... 34 10.11.6 CS2 Base Address LSB Register (Index=65h, Default=00h) ...................................................... 34 10.11.7 Simple I/O Base Address MSB Register (Index=66h, Default=00h) ........................................... 34 10.11.8 Simple I/O Base Address LSB Register (Index=67h, Default=00h) ............................................ 34 10.11.9 Panel Button De-bounce Base Address MSB Register (Index=68h, Default=00h)..................... 34 10.11.10 10.11.11 10.11.12 10.11.13 10.11.14 10.11.15 10.11.16 10.11.17 10.11.18 10.11.19 10.11.20 10.11.21 10.11.22 10.11.23 10.11.24 10.11.25 10.11.26 10.11.27 10.11.28 10.11.29 10.11.30 10.11.31 10.11.32 Panel Button De-bounce Base Address LSB Register (Index=69h, Default=00h) .................. 34 GP IRQ Steering 1 Control Register (Index=70h, Default=00h) .............................................. 35 GP IRQ Steering 1 Pin Mapping Register (Index=71h, Default=00h)...................................... 35 GP IRQ Steering 2 Control Register (Index=72h, Default=00h) .............................................. 35 GP IRQ Steering 2 Pin Mapping Register (Index=73h, Default=00h)...................................... 35 GP Set Selection Register (Index=F0h, Default=00h) ............................................................. 35 CSX Pin Mapping Register (Index=F1h, Default=00h) ............................................................ 35 CSX Control Register (Index=F2h, Default=00h)..................................................................... 36 GPIO Pin Polarity Register (Index=F3h, Default=00h) ............................................................ 36 GPIO Pin Internal Pull-up Enable Register (Index=F4h, Default=00h).................................... 36 Simple I/O Enable Register (Index=F5h, Default=00h)............................................................ 36 Simple I/O Direction Selection Register (Index=F6h, Default=00h)......................................... 37 Panel Button De-bounce Enable Register (Index=F7h, Default=00h) ..................................... 37 Panel Button De-bounce Control Register/GP LED Blinking 2 Control Register (Index=F8h, Default=00h) ........................................................................................................ 37 Keyboard Lock Pin Mapping Register (Index=F9h, Default=00h) ........................................... 37 GP LED Blinking 1 Pin Mapping Register (Index=FAh, Default=00h) ..................................... 38 GP LED Blinking Control and RING# Pin Mapping Register (Index=FBh, Default=00h) ........ 38 GP LED Blinking 2 Pin Mapping Register (Index=FCh, Default=00h) ...................................... 38 Reserved Register (Index=FDh, Default=00h)......................................................................... 38 PCI CLKRUN# Pin Mapping Register (Index=FEh, Default=00h) ........................................... 38 SMI# Pin Mapping Register (Index=FFh, Default=00h) ........................................................... 39 SMI# Control Register 1 (Index=E0h, Default=00h) ................................................................ 39 SMI# Control Register 2 (Index=E1h, Default=00h) ................................................................ 39 iii
10.11.33
SMI# Status Register 1 (Index=E2h, Default=00h).................................................................. 39
10.11.34 SMI# Status Register 2 (Index=E3h, Default=00h).................................................................. 40 11. Functional Description ............................................................................................................................. 41 11.1 11.2 11.3 General Purpose I/O ...........................................................................................................................41 Advanced Power Supply Control and PME# ......................................................................................42 FAN Controller ....................................................................................................................................42 Interfaces ..................................................................................................................................... 43 Registers...................................................................................................................................... 43 Operation ..................................................................................................................................... 47 Introduction .................................................................................................................................. 47 Reset............................................................................................................................................ 47 Hardware Reset (RESET Pin) ..................................................................................................... 48 Software Reset (DOR Reset and DSR Reset) ............................................................................ 48 Digital Data Separator ................................................................................................................. 48 Write Precompensation ............................................................................................................... 48 Data Rate Selection ..................................................................................................................... 48 Status, Data and Control Registers ............................................................................................. 48 Controller Phases ........................................................................................................................ 52
11.3.1 11.3.2 11.3.3 11.4 11.4.1 11.4.2 11.4.3 11.4.4 11.4.5 11.4.6 11.4.7 11.4.8 11.4.9
Floppy Disk Controller (FDC) ..............................................................................................................47
11.4.10 Command Set .............................................................................................................................. 56 11.4.11 Data Transfer Commands ........................................................................................................... 66 11.4.12 Control Commands ...................................................................................................................... 69 11.4.13 DMA Transfers............................................................................................................................. 73 11.4.14 Low Power Mode ......................................................................................................................... 73 11.5 Serial Port (UART) Description ...........................................................................................................74 Data Registers ............................................................................................................................. 74 Control Registers: IER, IIR, FCR, DLL, DLM, LCR and MCR ..................................................... 74 Status Registers: LSR and MSR ................................................................................................. 81 Reset............................................................................................................................................ 83 Programming ............................................................................................................................... 83 Software Reset ............................................................................................................................ 83 Clock Input Operation .................................................................................................................. 83 FIFO Interrupt Mode Operation ................................................................................................... 83 SPP and EPP Modes................................................................................................................... 86 EPP Operation ............................................................................................................................. 87 ECP Mode.................................................................................................................................... 88 Host Interface............................................................................................................................... 96 Data Registers and Status Register ............................................................................................ 97 Keyboard and Mouse Interface.................................................................................................... 97 KIRQ and MIRQ........................................................................................................................... 97 iv 11.5.1 11.5.2 11.5.3 11.5.4 11.5.5 11.5.6 11.5.7 11.5.8 11.6 11.6.1 11.6.2 11.6.3 11.7 11.7.1 11.7.2 11.7.3 11.7.4
Parallel Port.........................................................................................................................................85
Keyboard Controller (KBC) .................................................................................................................96
11.8
Consumer Remote Control (TV Remote) IR (CIR) .............................................................................98 Overview ...................................................................................................................................... 98 Features....................................................................................................................................... 98 Block Diagram.............................................................................................................................. 98 Transmit Operation ...................................................................................................................... 99 Receive Operation ....................................................................................................................... 99
11.8.1 11.8.2 11.8.3 11.8.4 11.8.5
11.8.6 Register Descriptions and Address ............................................................................................. 99 12. DC Electrical Characteristics................................................................................................................. 108 13. AC Characteristics (VCC = 5V 5%, Ta = 0C to + 70C) .................................................................... 110 13.1 13.2 13.3 13.4 13.5 13.6 13.7 13.8 13.9 Clock Input Timings...........................................................................................................................110 PCICLK and RESET Timings ...........................................................................................................110 CPU Read Cycle Timings .................................................................................................................111 CPU Write Cycle Timings..................................................................................................................111 SERIRQ Timings...............................................................................................................................112 DMA Timings.....................................................................................................................................112 Floppy Disk Drive Timings ................................................................................................................113 Serial Port, ASKIR, SIR and Consumer Remote Control Timings....................................................114 Modem Control Timings ....................................................................................................................114
13.10 EPP Address or Data Write Cycle Timings.......................................................................................115 13.11 EPP Address or Data Read Cycle Timings.......................................................................................115 13.12 ECP Parallel Port Forward Timings ..................................................................................................116 13.13 ECP Parallel Port Backward Timings................................................................................................116 14. Package Information............................................................................................................................... 117 15. Ordering Information .............................................................................................................................. 118
TABLES
Table 6-1. Signal Names (by pin numbers in alphabetical order) ....................................................................... 6 Table 8-1. General Purpose I/O ........................................................................................................................ 12 Table 9-1. Power On Strapping ......................................................................................................................... 13 Table 10-1. Global Configuration Registers ...................................................................................................... 16 Table 10-2. FDC Configuration Registers ......................................................................................................... 16 Table 10-3. Serial Port 1 Configuration Registers............................................................................................. 16 Table 10-4. Serial Port 2 Configuration Registers............................................................................................. 17 Table 10-5. Parallel Port Configuration Registers ............................................................................................. 17 Table 10-6. FAN Controller Configuration Registers......................................................................................... 17 Table 10-7. KBC(Keyboard) Configuration Registers ....................................................................................... 18 Table 10-8. KBC(Mouse) Configuration Registers ............................................................................................ 18 Table 10-9. GPIO Configuration Registers........................................................................................................ 18 Table 10-10. Base Address of Logical Devices................................................................................................. 20 Table 11-1. Address Map on the ISA Bus ......................................................................................................... 43 Table 11-2. FAN Controller Registers ............................................................................................................... 44 v
Table 11-3. Digital Output Register (DOR)........................................................................................................ 49 Table 11-4. Tape Drive Register (TDR) ............................................................................................................ 49 Table 11-5. Main Status Register (MSR) .......................................................................................................... 50 Table 11-6. Data Rate Select Register (DSR)................................................................................................... 51 Table 11-7. Data Register (FIFO)...................................................................................................................... 51 Table 11-8. Digital Input Register (DIR) ............................................................................................................ 52 Table 11-9. Diskette Control Register (DCR) .................................................................................................... 52 Table 11-10. Status Register 0 (ST0)................................................................................................................ 53 Table 11-11. Status Register 1 (ST1)................................................................................................................ 54 Table 11-12. Status Register 2 (ST2)................................................................................................................ 55 Table 11-13. Status Register 3 (ST3)................................................................................................................ 55 Table 11-14. Command Set Symbol Descriptions ............................................................................................ 56 Table 11-15. Command Set Summary.............................................................................................................. 58 Table 11-16. Effects of MT and N Bits .............................................................................................................. 66 Table 11-17. SCAN Command Result .............................................................................................................. 68 Table 11-18. VERIFY Command Result ........................................................................................................... 69 Table 11-19. Interrupt Identification................................................................................................................... 71 Table 11-20. HUT Values .................................................................................................................................. 71 Table 11-21. SRT Values .................................................................................................................................. 72 Table 11-22. HLT Values................................................................................................................................... 72 Table 11-23. Effects of GAP and WG on FORMAT A TRACK and WRITE DATA Commands........................ 72 Table 11-24. Effects of Drive Mode and Data Rate on FORMAT A TRACK and WRITE DATA Commands... 73 Table 11-25. Serial Channel Registers ............................................................................................................. 74 Table 11-26. Interrupt Enable Register Description .......................................................................................... 75 Table 11-27. Interrupt Identification Register .................................................................................................... 76 Table 11-28. FIFO Control Register Description ............................................................................................... 77 Table 11-29. Receiver FIFO Trigger Level Encoding........................................................................................ 77 Table 11-30. Baud Rates Using (24 MHz / 13) Clock....................................................................................... 78 Table 11-31. Line Control Register Description ................................................................................................ 79 Table 11-32. Stop Bits Number Encoding ......................................................................................................... 79 Table 11-33. Modem Control Register Description ........................................................................................... 80 Table 11-34. Line Status Register Description.................................................................................................. 81 Table 11-35. Modem Status Register Descriptiopn........................................................................................... 82 Table 11-36. Reset Control of Registers and Pinout Signals............................................................................ 83 Table 11-37. Parallel Port Connector in Different Modes.................................................................................. 85 Table 11-38. Address Map and Bit Map for SPP and EPP Modes ................................................................... 86 Table 11-39. Bit Map of the ECP Registers ...................................................................................................... 89 Table 11-40. ECP Register Definitions.............................................................................................................. 89 Table 11-41. ECP Mode Descriptions ............................................................................................................... 89 Table 11-42. ECP Pin Descriptions ................................................................................................................... 90 Table 11-43. Extended Control Register (ECR) Mode and Description............................................................ 92 Table 11-44. Data Register READ/WRITE Controls ......................................................................................... 96 vi
Table 11-45. Status Register............................................................................................................................. 97 Table 11-46. List of CIR Registers .................................................................................................................... 99 Table 11-47. Modulation Carrier Frequency.................................................................................................... 104 Table 11-48. Receiver Demodulation Low Frequency (HCFS = 0)................................................................. 105 Table 11-49. Receiver Demodulation High Frequency (HCFS = 1)................................................................ 106
FIGURES
Figure 7-1. IT8673F Special Applications Circuitry for Intel PIIX4 .................................................................... 11 Figure 10-1. Configuration Sequence Flow Chart ............................................................................................. 14 Figure 11-1. Keyboard and Mouse Interface..................................................................................................... 96 Figure 11-2. CIR Block Diagram........................................................................................................................ 98
vii
IT8673F
Preliminary V0.5 Specifications subject to Change without Notice
Advanced Input/Output (Advanced I/O)
ITPM-PN-200211 Joseph, April 8, 2002
1. Features
PC98/99, ACPI & LANDesk Compliant ISA Plug and Play register set compatible - ACPI V. 1.0 and LANDesk 3.1 compliant - Supports eight logical devices - 16-bit address decoding - Three selectable DMA channels - PC98/99 I/O solution - Supports IRQ sharing
- -
Supports two 360K/720K/1.2M/1.44M/2.88M floppy disk drives
Fan Controller Provides FAN ON/OFF and speed control - Up to 3 programmable Pulse Width Modulation (PWM) FAN control outputs - Each PWM output supports 128 steps of PWM modes - Up to 3 Fan tachometer inputs
-
Keyboard Controller 8042 compatible - 2KB programmable ROM - 256-byte data RAM - GateA20 and Keyboard reset output - Supports keylock function (Thru GPIO) - Supports PS/2 mouse - Supports any key, or 2-5 sequential keys, or 1-3 simultaneous keys keyboard power-on feature - Supports mouse double-click and/or mouse move power on event
-
Consumer Remote Control (TV Remote) IR 2 Serial Ports - Supports two standard 16C550 UARTs - UART2 also supports IrDA 1.0 (SIR) and ASKIR infrared protocols - Supports MIDI baud rate IEEE 1284 Parallel Port Standard mode--Bi-directional SPP - Enhanced mode--EPP V. 1.7 and EPP V. 1.9 compliant - High speed mode--ECP, IEEE 1284 compliant - Backdrive current reduction - Printer power-on damage reduction
-
8 General Purpose I/O Pins Input mode supports either switch de-bounce - Output mode supports 2 sets of programmable LED blinking periods
-
Chasis Open Detection Support Serial IRQ Support ITE innovative automatic power-failure resume & power button De-bounce Vbat & Vcch Support
Floppy Disk Controller - Enhanced digital data separator - Drives A and B can be logically swapped via registers - 3-Mode drive supported - Supports automatic write protection via software
Single 24 MHz or 48 MHz Clock Input Single +5V Power Supply 128-pin QFP
1
IT8673F
2. General Description
The IT8673F is an ISA-based highly integrated I/O device. The IT8673F provides all the functions required by (R) legacy Super I/O and FAN Controller functionalities. The IT8673F meets the "Microsoft PC98/99 system design guide" requirements and is ACPI and LANDesk compliant. The IT8673F has integrated eight logical devices, featuring an FAN Controller. The fan speed controller is responsible to control three fan speeds through three 128 steps of Pulse Width Modulation (PWM) output pins and to monitor three fans' tachometer inputs. Other features include a high-performance 2.88MB floppy disk controller with digital data separator, which is able to support two 360K/720K/1.2M/1.44M/2.88M floppy disk drives. One multi-mode high-performance parallel port features the bi-directional Standard Parallel Port (SPP), the Enhanced Parallel Port (EPP, V.1.7 and V.1.9 are supported), and the IEEE1284 compliant Extended Capabilities Port (ECP). Two 16C550 standard compatible enhanced UARTs perform asynchronous communication with enhanced wireless IrDA 1.0 or ASKIR protocols. One Consumer IR controller supports multiple remote control IR protocols. The I/O device also has an integrated 8042 compatible Keyboard Controller with 2KB of programmable ROM for customer application. These eight logical devices can be individually enabled or disabled via software configuration registers. The IT8673F utilizes power-saving circuitry to reduce power consumption and once a logical device is disabled the inputs are gated, the outputs are tri-state and the input clock is disabled. The IT8673F requires just a single 24/48 MHz clock input and operates with only single +5V power supply. The IT8673F is available in 128-pin QFP (Quad Flat package).
2
IT8673F
3. Block Diagram
Address Control
24/48 MHz OSC.
Clock Gen.
ISA Interface Plug-and-Play
Data
Serial Interrupt Mouse Interface Keyboard Interface
Serial Port 1 Interface Serial Port 2 Interface IR Interface Parallel Port Interface
16C550 UART1 Central Interface Bus
Keyboard Controller
16C550 UART2 + IR IEEE1284 Parallel Port Consumer IR
Floppy Disk Controller General Purpose I/O Fan Controller
Floppy Drive Interface
I/O Ports
CIR I/F
PWM signals to FETs for FANs
3
IT8673F
4. Pinout Table
Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 Signal
NC NC NC GND DENSEL# MOTEA# DRVB# DRVA# MOTEB# GND DIR# STEP# WDATA# WGATE# SIDE1# INDEX# TK00# WPT# RDATA# DSKCHG# SA0 SA1 SA2 SA3 SA4 SA5 SA6 SA7 SA8 SA9 SA10 SA11
Pin Signal 33 IOCHRDY 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
SIRQ VCC PCICLK IOR# IOW# SD0 SD1 SD2 SD3 GND SD4 SD5 SD6 SD7 SIN1 SOUT1 DSR1# RTS1#/PIN95SEL CTS1# DTR1#/PIN96SEL RI1# DCD1# RI2# DCD2# SIN2 SOUT2 DSR2# RTS2#/KBC_IROM CTS2# DTR2#/KBCEN FAN_TAC1
Pin Signal 65 FAN_CTL1 66 GP10 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
Pin Signal 97 VBAT 98 COPEN# 99
VCC GP17 GP16 GP15 GP14 FAN_CTL2/GP13 FAN_TAC2/GP12 DRQ1 DRQ2 DRQ3 GND CLKIN KDAT KCLK MDAT MCLK KRST# IRRX IRTX GA20 DACK1# DACK2# DACK3# PSON/GP11 SA12 SA13 PWRON#/PME# PANSWH# SA14/FAN_TAC3 SA15/FAN_CTL3
VCCH
100 SLCT 101 PE 102 BUSY 103 ACK# 104 GND 105 PD7 106 PD6 107 PD5 108 PD4 109 PD3 110 PD2 111 PD1 112 PD0 113 SLIN# 114 INIT# 115 ERR# 116 AFD# 117 STB# 118 AEN 119 RESET 120 TC 121 VCC 122 NC 123 NC 124 NC 125 NC 126 NC 127 NC 128 NC
4
IT8673F
5. Pin Configuration
NC NC NC NC NC NC NC VCC TC RESET AEN STB# AFD# ERR# INIT# SLIN# PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7 GND ACK# NC NC NC GND DENSEL# MOTEA# DRVB# DRVA# MOTEB# GND DIR# STEP# WDATA# WGATE# SIDE1# INDEX# TK00# WPT# RDATA# DSKCHG# SA0 SA1 SA2 SA3 SA4 SA5 SA6 SA7 SA8 SA9 SA10 SA11 IOCHRDY SIRQ VCC PCICLK IOR# IOW#
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
IT8673F 128-QFP
BUSY PE SLCT VCCH COPEN# VBAT SA15/FAN_CTL3 SA14/FAN_TAC3 PANSWH# PWRON#/PME# SA13 SA12 PSON/GP11 DACK3# DACK2# DACK1# GA20 IRTX IRRX KRST# MCLK MDAT KCLK KDAT CLKIN GND DRQ3 DRQ2 DRQ1 FAN_TAC2/GP12 FNA_CTL2/GP13 GP14 GP15 GP16 GP17 VCC GP10 FAN_CTL1
SD0 SD1 SD2 SD3 GND SD4 SD5 SD6 SD7 SIN1 SOUT1 DSR1# RTS1#/PIN95SEL CTS1# DTR1#/PIN96SEL RI1# DCD1# RI2# DCD2# SIN2 SOUT2 DSR2# RTS2#/KBC_IROM CTS2# DTR2#/KBCEN FAN_TAC1
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
Top View 5
IT8673F
6. IT8673F Pin Descriptions
Table 6-1. Signal Names (by pin numbers in alphabetical order) Pin(s) No. Signal
VCC VCCH VBAT GNDD
I/O
PWR PWR PWR GND
Power
-
Description
+5V Digital Power Supply. +5V VCC Help Supply. +3.3V Battery Supply. Digital Ground.
Supplies
35, 67, 121 99 97 4,10,43, 77, 104 21-32 96
ISA Bus Interface Signals
SA[0:11] SA15/ FAN_CTL3 DI DI/ DOD8 VCC VCCH ISA Address 0 - 11. Input signals used to determine which internal register is accessed. SA0-SA11 are ignored during a DMA access. ISA Address 15 / FAN Control Output 3. * The default function of this pin is ISA address 15. * The second function of this pin is the FAN Control Output 3. * The function of this pin is decided by the power-on strapping of DTR1#. ISA Address 14 / FAN Tachometer Input 3. * The default function of this pin is ISA address 14. * The second function of this pin is the FAN Tachometer Input 3. (0 to +5V amplitude FAN tachometer input). * The function of this pin is decided by the power-on strapping of RTS1#. ISA Address 13 - 12. Input signals used to determine which internal register is accessed. SA13-SA12 are ignored during a DMA access. ISA Data 0 - 7. 8-bit bi-directional data lines used to transfer data between IT8673F and the CPU or DMA controller. SD0 is the LSB and SD7 is the MSB. Address Enable. AEN is used to disable the internal address decoder when it is high. This pin is always ignored during DMA accesses. DMA Request 1 - 3. Active high outputs to signal the DMA controller that a data transfer from IT8673F is required. DMA Acknowledge 1 - 3 #. Active low inputs to acknowledge the corresponding DMA requests and enable the RD or WR signals during a DMA access cycle. PCI Clock. the PCI CLOCK input. Serial Interrupt. Reset. A high level on this input resets IT8673F. This signal asynchronously terminates any activity and places the device in the Disable state. I/O Read #. Active low input asserted by the CPU or DMA controller to read data or status information from IT8673F. Terminal Count. This input is asserted by the DMA controller to indicate the end of a DMA transfer. The signal is only effective during a DMA access cycle. I/O Write #. Active low input asserted by the CPU or DMA controller to write data or control information to IT8673F. I/O Channel Ready. Pulled low to extend the Read/Write command under the EPP mode.
95
SA14/ FAN_TAC3
DI/DI
VCCH
92-91 39 - 42, 44 - 47 118
SA[13:12] SD[0:7]
DI DIO24
VCCH VCC
AEN
DI
VCC
74 - 76 87 - 89
DRQ[1:3] DACK[1:3]#
DO8 DI
VCC VCCH
36 34 119
PCICLK SIRQ RESET
DI DIO24 DI
VCC VCC VCC
37 120
IOR# TC
DI DI
VCC VCC
38 33
IOW# IOCHRDY
DI DOD24
VCC VCC
6
IT8673F
Pin(s) No.
65 72
Signal
FAN_CTL1 FAN_CTL2/ GP13
I/O
DOD8 DOD8/ DIOD8
Power
VCC VCC
Description
FAN Control Output 1. (PWM output signal to FAN's FET.) FAN Control Output 2 / General Purpose I/O 13. * The default function of this pin is FAN Control Output 2 (PWM output signal to FAN's FET). * The second function of this pin is the GP13. * The function configuration of this pin is decided by the GPIO configuration registers. FAN Tachometer Input 1. (0 to +5V amplitude FAN tachometer input) FAN Tachometer Input 2 / General Purpose I/O 12. * The default function of this pin is FAN Tachometer Input 2. (0 to +5V amplitude FAN tachometer input) * The second function of this pin is the GP12. * The function configuration of this pin is decided by the GPIO configuration registers. Clear to Send 1 #. When low, indicates that the MODEM or Data Set is ready to accept data. The CTS# signal is a MODEM status input whose condition can be tested by reading the MSR register. Data Carrier Detect 1 #. When low, indicates that the MODEM or Data Set has detected a carrier. The DCD# signal is a MODEM status input whose condition can be tested by reading the MSR
FAN Speed Controller Signals
64 73
FAN_TAC1 FAN_TAC2/ GP12
DI DI/ DIOD8
VCC VCC
Serial Port 1 Signals
52 CTS1# DI VCC
55
DCD1#
DI
VCC
register.
50 DSR1# DI VCC Data Set Ready 1 #. When low, indicates that the MODEM or Data Set is ready to establish a communications link. The DSR# signal is a MODEM status input whose condition can be tested by reading the MSR register. Data Terminal Ready 1 # / Pin 96 Multiplex Select . * The default function of this pin is Data Terminal Ready 1 #. The DTR# signal is used to indicate to the MODEM or Data Set that the device is ready to exchange data. DTR# is activated by setting the appropriate bit in the MCR register to 1. After a Master Reset operation or during Loop mode, DTR# is set to its inactive state. * The second function of this pin is the power-on strapping of Pin 96 multiplex select. When high, the pin 96 is selected as SA15. This pin is weak pull-up internally. Ring Indicator 1 #. When low, indicates that a telephone ring signal has been received by the MODEM. The RI# signal is a MODEM status input whose condition can be tested by reading the MSR register. Request to Send 1 # / Pin 95 Multiplex Select. * The default function of this pin is Request To Send 1 #. When low, this output indicates to the MODEM or Data Set that the device is ready to send data. RTS# is activated by setting the appropriate bit in the MCR register to 1. After a Master Reset operation or during Loop mode, RTS# is set to its inactive state. * The second function of this pin is the power-on strapping of Pin 95 multiplex select. When high, the pin 95 is selected as SA14. This pin is weak pull-up internally. Serial Data In 1. This input receives serial data from the communications link.
53
DTR1#/ PIN96SEL
DO8/DI
VCC
54
RI1#
DI
VCC
51
RTS1#/ PIN95SEL
DO8/DI
VCC
48
SIN1
DI
VCC
7
IT8673F
Pin(s) No.
49
Signal
SOUT1
I/O
DO8
Power
VCC
Description
* Serial Data Out 1. This output sends serial data to the communications link. This signal is set to a marking state (logic 1) after a Master Reset operation or when the device is in one of the Infrared communications modes. Clear to Send 2 #. When low, indicates that the MODEM or Data Set is ready to accept data. The CTS# signal is a MODEM status input whose condition can be tested by reading the MSR register. Data Carrier Detect 2 # . When low, indicates that the MODEM or Data Set has detected a carrier. The DCD# signal is a MODEM status input whose condition can be tested by reading the MSR register. Data Set Ready 2 #. When low, indicates that the MODEM or Data Set is ready to establish a communications link. The DSR# signal is a MODEM status input whose condition can be tested by reading the MSR register. Data Terminal Ready 2 # / KBC Enable. * The default function of this pin is Data Terminal Ready 2 #. DTR# is used to indicate to the MODEM or Data Set that the device is ready to exchange data. DTR# is activated by setting the appropriate bit in the MCR register to 1. After a Master Reset operation or during Loop mode, DTR# is set to its inactive state. * The second function of this pin is the power-on strapping of KBC (LDN 4) enable. This pin is weak pull-up internally. Ring Indicator 2 #. When low, indicates that a telephone ring signal has been received by the MODEM. The RI# signal is a MODEM status input whose condition can be tested by reading the MSR register. Request to Send 2 # / KBC Internal ROM Selected * The default function of this pin is Request To Send 2 #. When low, this output indicates to the MODEM or Data Set that the device is ready to send data. RTS# is activated by setting the appropriate bit in the MCR register to 1. After a Master Reset operation or during Loop mode, RTS# is set to its inactive state. * The second function of this pin is the power-on strapping of KBC intrusion ROM select. When high (default), the internal ROM is selected. When low, the external ROM is selected. This pin is weak pull-up internally. Serial Data In 2. This input receives serial data from the communications link. Serial Data Out 2. This output sends serial data to the communications link. This signal is set to a marking state (logic 1) after a Master Reset operation or when the device is in one of the Infrared communications modes. Printer Select. This signal goes high when the line printer has been selected. Printer Paper End. This signal is set high by the printer when it runs out of paper. Printer Busy. This signal goes high when the line printer has a local operation in progress and cannot accept data. Printer Acknowledge #. This signal goes low to indicate that the printer has already received a character and is ready to accept another.
Serial Port 2 Signals
62 CTS2# DI VCC
57
DCD2#
DI
VCC
60
DSR2#
DI
VCC
63
DTR2#/ KBCEN
DO8/DI
VCC
56
RI2#
DI
VCC
61
RTS2#/ KBC_IROM
DO8/DI
VCC
58 59
SIN2 SOUT2
DI DO8
VCC VCC
Parallel Port Signals
100 101 102 103 SLCT PE BUSY ACK# DI DI DI DI VCC VCC VCC VCC
8
IT8673F
Pin(s) No.
112 - 105
Signal
PD[0:7]
I/O
DIO24
Power
VCC
Description
Parallel Port Data Bus 0-7. This bus provides a byte-wide input or output to the system. The eight lines are held in a high impedance state when the port is deselected. Printer Select Input #. When low, the printer is selected. This signal is derived from the complement of bit 3 of the printer control register. Printer Initialize #, active low. This signal is derived from bit 2 of the printer control register, and is used to initialize the printer. Printer Error #, when active low it indicates that the printer has encountered an error. The error message can be read from bit 3 of the printer status register. Printer AutoLline feed #, active low. This signal is derived from the complement of bit 1 of the printer control register, and is used to advance one line after each line is printed. Printer Strobe #, active low. This signal is the complement of bit 0 of the printer control register, and is used to strobe the printing data into the printer. Density Select #. DENSEL# is high for high data rates (500Kbps, 1Mbps). DENSEL# is low for low data rates (250Kbps, 300Kbps) FDD Motor A Enable #. Active low. FDD Drive B Enable #. Active low. FDD Drive A Enable #. Active low. FDD Motor B Enable #. Active low. FDC Head Direction #. Step in when low, step out when high during a SEEK operation. FDC Step Pulse #. Active low. FDC Write Serial Data to the drive #. Active low. FDC Write Gate Enable #. Active low. Floppy Disk Side 1 Select #. Active low. FDC Index #. Active low. Indicates the beginning of a disk track. Floppy Disk Track 0 #. Active low. Indicates that the head of the selected drive is on track 0. FDD Write Protect #. Active low. Indicates that the disk of the selected drive is write-protected. FDC Read Disk Data #. Active low, serial data input from FDD Floppy Disk Change #. Active low. This is an input pin that senses whether the drive door has been opened or a diskette has been changed. Keyboard Data. Keyboard Clock. PS/2 Mouse Data. PS/2 Mouse Clock. Keyboard Reset #. Gate Address 20.
113 114 115
SLIN# INIT# ERR#
DIO24 DIO24 DI
VCC VCC VCC
116
AFD#
DIO24
VCC
117
STB#
DIO24
VCC
Floppy Disk Controller Signals
5 6 7 8 9 11 12 13 14 15 16 17 18 19 20 DENSEL# MOTEA# DRVB# DRVA# MOTEB# DIR# STEP# WDATA# WGATE# SIDE1# INDEX# TK00# WPT# RDATA# DSKCHG# DO40 DO40 DO40 DO40 DO40 DO40 DO40 DO40 DO40 DO40 DI DI DI DI DI VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC
Keyboard Controller Signals
79 80 81 82 83 86 KDAT KCLK MDAT MCLK KRST# GA20 DIOD16 DIOD16 DIOD16 DIOD16 DOD8 DOD8 VCCH VCCH VCCH VCCH VCCH VCCH
9
IT8673F
Pin(s) No.
85 84 78 66 68 - 71 98
Signal
IRTX IRRX CLKIN GP10 GP[17:14] COPEN#
I/O
DO16 DI DI DIOD8 DIOD8 DOD8
Power
VCCH VCCH VCCH VCC VCC VCCH or VBAT VCCH
Description
Infrared Data Transmit. Infrared Data Transmit. Infrared Data Receive. Infrared Data Receive Low. 24 MHz or 48 MHz Clock Input. General Purpose I/O 10 General Purpose I/O 17 - 14 Case Open Detection #. The Case Open input is connected to a low power CMOS Flip-Flop, which is especially designed to support the case open state by the battery during power loss state. Power On Switch Output #/ Power Management Event #. * The first function of this pin is the Main power On-Off switch Output # (Bug fix for PIIX40). * The second function of this pin is the power management event #. It supports the PCI PME# interface. This signal allows the peripheral to request the system to wake up from D3 (cold) state. This pin is backed by VTR. * The function configuration of this pin is decided by the software configuration registers. Panel Switch Input #. Main power On-Off switch Input. (Bug fix for PIIX4 ) Power Supply On Output / General Purpose I/O 11. * The default function of this pin is Main power supply On Output. ( Bug fix for PIIX4 ) * The second function of this pin is the GP11. * The function configuration of this pin is decided by the GPIO configuration registers. * No Connection.
Infrared Controller Signals Miscellaneous Signals
93
PWRON#/ PME#
DOD8/ DOD8
94 90
PANSWH# PSON/GP11
DI DOD8/ DIOD8
VCCH VCCH
1 - 3, 133 - 128
NC
--
VCC
IO Cell: DO8: 8mA Digital output buffer DO16: 16mA Digital output buffer DO40: 48mA Digital output buffer DOD8: 8mA Digital Open-Drain output buffer DOD24: 24mA Digital Open-Drain output buffer DIO24: 24mA Digital Input/Output buffer DIOD8: 8mA Digital Open-Drain Input/Output buffer DIOD16: 16mA Digital Open-Drain Input/Output buffer DI: Digital Input
10
IT8673F
7. Special Pin Routings
PSB - Power Supply Bypass The PSB will be internally routed to PSON pin.
Intel PIIX4 PWBTN# VCCH VCCH SUSC#
System On-Off Button
PWRON# (93) IT8673F PANSWH# (94) PSON(90)
ATX Power Supply PSON#
Figure 7-1. IT8673F Special Applications Circuitry for Intel PIIX4
11
IT8673F
8. List of GPIO Pins
Table 8-1. General Purpose I/O Pin(s) No.
66 90 73 72 71 70 69 68
Signal
GP10 PSON/GP11 FAN_TAC2/GP12 FAN_CTL2/GP13 GP14 GP15 GP16 GP17 General Purpose I/O 10.
Description
Power Supply On Output / General Purpose I/O 11. FAN Tachometer Input 2 / General Purpose I/O 12. FAN Control Output 2 / General Purpose I/O 13. General Purpose I/O 14. General Purpose I/O 15. General Purpose I/O 16. General Purpose I/O 17.
12
IT8673F
9. Power On Strapping Options
Table 9-1. Power On Strapping Pin No. 51 Signal PIN95SEL Value 1 0 53 PIN96SEL 1 0 61 KBC_IROM 1 0 63 KBCEN 1 0 Description The function of the pin 95 is selected SA14. (default) The function of the pin 95 is selected FAN_TAC3. The function of the pin 96 is selected SA15. (default) The function of the pin 96 is selected FAN_CTL3. KBC's ROM is built in. (default) KBC's ROM is external. This is used for custom code verification. A special application circuit is required. KBC is enabled. (default) KBC is disabled.
13
IT8673F
10. Configuration
10.1 Configuring Sequence Description After the hardware reset or power-on reset, IT8673F enters the normal mode with all logical devices disabled except KBC. The initial state (enable bit) of this logical device (KBC) is determined by the state of pin 63 (DTR2# ) at the falling edge of the system reset during power-on reset.
Hardware Reset
Any other I/O transition cycle
Wait for key string
I/O write to 279h N
Is the key port selected?
Y N
Are the four consecutive bytes correct?
Y
Save the I/O port as configuration port
N
I/O write to Configuration Address Port?
N
Y N
Does the data match first key?
Y
Wait for the next key
N
Does the data match next key?
Y
Does the data match last key?
N
Y
MB PnP Mode
Figure 10-1. Configuration Sequence Flow Chart
14
IT8673F
There are three steps to completing configuration setup: (1) Enter the MB PnP Mode; (2) Modify the data of configuration registers; (3) Exit the MB PnP Mode. Without normal exiting, it may cause undesired results. (1) Enter the MB PnP Mode To enter the MB PnP Mode, 36 special I/O write operations are to be performed during Wait for Key state. To insure the initial state of the key-check logic, it is first necessary to perform two write operations to the Address port (279h) of the ISA PnP. The Entering Key includes two steps. In the first step, four bytes are used to determine the I/O address and data port of configuration register. In the second step, 32 bytes are written to the Address port determined by the first four bytes. All 36 bytes must be written properly and sequentially. The corresponding sequential data for the first four bytes are as follows:
86h, 80h, 55h, 55h; 86h, 80h, 55h, AAh; 86h, 80h, AAh, 55h; Address port 3F0h 3BDh 370h Data port 3F1h 3BFh 371h
or or
The sequential data for the other 32 bytes (same as the initial key of ISA PnP, but written to different I/O ports) are listed below in hexadecimal numeration:
6A, DF, B0, E8, B5, 6F, 58, 74, DA, 37, 2C, 3A, ED, 1B, 16, 9D, F6, 0D, 8B, CE, FB, 86, 45, E7, 7D, C3, A2, 73, BE, 61, D1, 39,
(2) Modify the Data of the Registers All configuration registers can be accessed after entering the MB PnP Mode. Before accessing a selected register, the content of Index 07h must be changed to the LDN to which the register belongs. (3) Exit the MB PnP Mode Set bit 1 of the configure control register (Index 02h) to "1" to exit the MB PnP Mode.
15
IT8673F
10.2 Description of the Configuration Registers All the registers except APC/PME# registers will be reset to the default state when RESET is activated. Table 10-1. Global Configuration Registers LDN
All All All All All All All 07h
*1
Index
02h 07h 20h 21h 22h 23h 24h 25h 26h 27h 28h 29h 2Eh 2Fh
R/W
W R/W R R R R/W R/W R/W R/W R/W R/W R/W R/W R/W
Reset
NA NA 86h 73h 01h 00h 00h 00h 00h 00h 00h 00h 00h 00h
Configuration Register or Action
Configure Control Logical Device Number (LDN) Chip ID Byte 1 Chip ID Byte 2 Chip Version Clock Selection Register Software Suspend GPIO Multi-Function Pin Selection Register Reserved Reserved Reserved Reserved Test 1 Register Test 2 Register
07h*1 07h*1 07h
*1
07h*1 F4h F4h
*1 *1
Table 10-2. FDC Configuration Registers LDN
00h 00h 00h 00h 00h 00h
Index
30h 60h 61h 70h 74h F0h
R/W
R/W R/W R/W R/W R/W R/W
Reset
00h 03h F0h 06h 02h 00h
Configuration Register or Action
FDC Activate FDC Base Address MSB Register FDC Base Address LSB Register FDC Interrupt Level Select FDC DMA Channel Select FDC Special Configuration Register
Table 10-3. Serial Port 1 Configuration Registers LDN
01h 01h 01h 01h 01h
Index
30h 60h 61h 70h F0h
R/W
R/W R/W R/W R/W R/W
Reset
00h 03h F8h 04h 00h
Configuration Register or Action
Serial Port 1 Activate Serial Port 1 Base Address MSB Register Serial Port 1 Base Address LSB Register Serial Port 1 Interrupt Level Select Serial Port 1 Special Configuration Register
16
IT8673F
Table 10-4. Serial Port 2 Configuration Registers LDN
02h 02h 02h 02h 02h 02h 02h 02h 02h
Index
30h 60h 61h 62h 63h 70h 72h F0h F1h
R/W
R/W R/W R/W R/W R/W R/W R/W R/W R/W
Reset
00h 02h F8h 03h 00h 03h 00h 00h 40h
Configuration Register or Action
Serial Port 2 Activate Serial Port 2 Base Address MSB Register Serial Port 2 Base Address LSB Register Consumer IR Base Address MSB Register Consumer IR Base Address LSB Register Serial Port 2 Interrupt Level Select Consumer IR Interrupt Level Select Serial Port 2 Special Configuration Register 1 Serial Port 2 Special Configuration Register 2
Table 10-5. Parallel Port Configuration Registers LDN
03h 03h 03h 03h 03h 03h 03h 03h
Index
30h 60h 61h 62h 63h 70h 74h F0h
R/W
R/W R/W R/W R/W R/W R/W R/W R/W
Reset
00h 03h 78h 07h 78h 07h 03h 03h
*3
Configuration Register or Action
Parallel Port Activate Parallel Port Primary Base Address MSB Register Parallel Port Primary Base Address LSB Register Parallel Port Secondary Base Address MSB Register Parallel Port Secondary Base Address LSB Register Parallel Port Interrupt Level Select Parallel Port DMA Channel Select*2 Parallel Port Special Configuration Register
Table 10-6. FAN Controller Configuration Registers LDN
04h 04h 04h 04h 04h 04h 04h 04h 04h 04h 04h 04h 04h
Index
30h 60h 61h 62h 63h 70h F0h F1h F2h F3h F4h F5h F6h
R/W
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R-R/W R/W R/W
Reset
00h 00h 80h 02h 00h 09h 00h 00h 00h 00h 00h
Configuration Register or Action
FAN Controller Activate FAN Controller Base Address MSB Register FAN Controller Base Address LSB Register PME# Direct Access Base Address MSB Register PME# Direct Access Base Address LSB Register FAN Controller Interrupt Level Select APC/PME# Event Enable Register APC/PME# Status Register APC/PME# Control Register 1 FAN Controller Special Configuration Register APC/PME# Control Register 2 APC/PME# Special Code Index Register APC/PME# Special Code Data Register
17
IT8673F
Table 10-7. KBC(Keyboard) Configuration Registers LDN
05h 05h 05h 05h 05h 05h 05h 05h
Index
30h 60h 61h 62h 63h 70h 71h F0h
R/W
R/W R/W R/W R/W R/W R/W R-R/W R/W
Reset
*4 00h 60h 00h 64h 01h 02h 00h
Configuration Register or Action
KBC Activate KBC Data Base Address MSB Register KBC Data Base Address LSB Register KBC Command Base Address MSB Register KBC Command Base Address LSB Register KBC Interrupt Level Select KBC Interrupt Type*5 KBC Special Configuration Register
Table 10-8. KBC(Mouse) Configuration Registers LDN
06h 06h 06h 06h
Index
30h 70h 71h F0h
R/W
R/W R/W R-R/W R/W
Reset
00h 0Ch 02h 00h
Configuration Register or Action
KBC (Mouse) Activate KBC (Mouse) Interrupt Level Select KBC (Mouse) Interrupt Type
*5
KBC (Mouse) Special Configuration Register
Table 10-9. GPIO Configuration Registers LDN
07h 07h 07h 07h 07h 07h 07h 07h 07h 07h 07h 07h 07h 07h 07h 07h 07h 07h 07h
Index
60h 61h 62h 63h 64h 65h 66h 67h 68h 69h 70h 71h 72h 73h F0h F1h F2h F3h F4h
R/W
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
Reset
00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h
Configuration Register or Action
CS0 Base Address MSB Register CS0 Base Address LSB Register CS1 Base Address MSB Register CS1 Base Address LSB Register CS2 Base Address MSB Register CS2 Base Address LSB Register Simple I/O Base Address MSB Register Simple I/O Base Address LSB Register Panel Button De-bounce Base Address MSB Register Panel Button De-bounce Base Address LSB Register GP IRQ Steering 1 Control Register GP IRQ Steering 1 Pin Mapping Register GP IRQ Steering 2 Control Register GP IRQ Steering 2 Pin Mapping Register GP Set Selection Register CSX Pin Mapping Register CSX Control Register GPIO Pin Polarity Register GPIO Pin Internal Pull-up Enable Register
18
IT8673F
Table 10-9. GPIO & Alternate Function Configuration Registers (cont'd) LDN
07h 07h 07h 07h 07h 07h 07h 07h 07h 07h 07h 07h 07h 07h 07h
Index
F5h F6h F7h F8h F9h FAh FBh FCh FDh FEh FFh E0h E1h E2h E3h
R/W
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R R-R/W
Reset
00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h
Configuration Register or Action
Simple I/O Enable Register Simple I/O Direction Selection Register Panel Button De-bounce Enable Register Panel Button De-bounce Control Register / GP LED Blinking 2 Control Register Keyboard Lock Pin Mapping Register GP LED Blinking 1 Pin Mapping Register GP LED Blinking Control & RING# Pin Mapping Register GP LED Blinking 2 Pin Mapping Register Reserved Register PCI CLKRUN# Pin Mapping Register SMI# Pin Mapping Register SMI# Control Register 1 SMI# Control Register 2 SMI# Status Register 1 SMI# Status Register 2
Notes: *1: All these registers can be read from all LDNs. *2: When the ECP mode is not enabled, this register is read only as "04h", and cannot be written. *3: When bit 2 of the base address of Parallel Port is set to 1, the EPP mode cannot be enabled. Bit 0 of this register is always 0. *4: The initial value of the activate bit of KBC is determined by the latched state of DTR2# at the falling edge of the RESET signal. *5: These registers are read only unless the write enable bit (Index=F0h) is asserted.
19
IT8673F
10.2.1 Logical Device Base Address The base I/O range of logical devices shown below is located in the base I/O address range of each logical device. Table 10-10. Base Address of Logical Devices Logical Devices
LDN=0 FDC LDN=1 SERIAL PORT 1 LDN=2 SERIAL PORT 2 Base + (0-7) Base1 + (0-7) Base2 + (0-7) Base1 + (0-3) LDN=3 PARALLEL PORT Base1 + (0-7) Base1 + (0-3) and Base2 + (0-3) Base1 + (0-7) and Base2 + (0-3) LDN=4 FAN Controller LDN=5 KBC Base1 + (0-7) Base2 + (0-3) Base1 + Base2 COM port CIR SPP SPP+EPP SPP+ECP SPP+EPP+ECP FAN Controller (FAN) PME# KBC
Address
Base + (2-5) and +7
Notes
20
IT8673F
10.3 Global Configuration Registers (LDN: All) 10.3.1 Configure Control (Index=02h) This register is write only. Its values are not sticky; that is to say, a hardware reset will automatically clear the bits, and does not require the software to clear them. Bit
7-2 1 0 Reserved Returns to the "Wait for Key" state. This bit is used when configuration sequence is completed. Resets all logical devices and restores configuration registers to their power-on states.
Description
10.3.2 Logical Device Number (LDN, Index=07h) This register is used to select the current logical devices. By reading from or writing to the configuration of I/O, Interrupt, DMA and other special functions, all registers of the logical devices can be accessed. In addition, ACTIVATE command is only effective for the selected logical devices. This register is read/write. 10.3.3 Chip ID Byte 1 (Index=20h, Default=86h) This register is the Chip ID Byte 1 and is read only. Bits [7:0]=86h when read. 10.3.4 Chip ID Byte 2 (Index=21h, Default=73h) This register is the Chip ID Byte 2 and for read only. Bits [7:0]=73h when read. 10.3.5 Chip Version (Index=22h, Default=01h) This register is the Chip Version and for read only. 10.3.6 Clock Selection Register (Index=23h, Default=00h) Bit
7-1 0 Reserved CLKIN frequency. 1: 48 MHz. 0: 24 MHz.
Description
10.3.7 Software Suspend (Index=24h, Default=00h, MB PnP) This register is the Software Suspend register. When bit 0 is set, IT8673F enters the "Software Suspend" state. All the devices, except KBC, remain inactive until this bit is cleared or when the wake-up event occurs. The wake-up event occurs at any transition on signals RI1# (pin 54) and Rl2# (pin 56).
21
IT8673F
10.3.8 GPIO Multi-Function Pin Selection Register (Index=25h, Default=00h) If the enabled bits are not set, the multi-function pins will perform the original functions. On the other hand, if they are set, they will perform the GPIO functions. This register can be read from any LDN, but can only be written if LDN=07h. Bit
7 6 5 4 3
Description
Selects the GPIO function of General Purpose I/O 17 (GP17) of pin 68. Selects the GPIO function of General Purpose I/O 16 (GP16) of pin 69. Selects the GPIO function of General Purpose I/O 15 (GP15) of pin 70. Selects the GPIO function of General Purpose I/O 14 of pin 71. Performs the function selection of FAN_CTL2 or GP 13 of pin 72. 1: Selects the function of General Purpose I/O 13 (GP13). 0: Selects the function of FAN Control Output 2 (FAN_CTL2). Performs the function selection of FAN_TAC2 or GP 12 of pin 73. 1: Selects the function of General Purpose I/O 12 (GP12). 0: Selects the function of FAN Tachometer Input 2 (FAN_TAC2). Performs the function selection of PSON or GP 11 of pin 90. 1: Selects the function of General Purpose I/O 11 (GP11). 0: Selects the function of Power Supply On Output (PSON). Selects the GPIO function of General Purpose I/O 10 (GP10) of pin 66.
2
1 0
10.3.9 Reserved Register (Index=26h, Default=00h) 10.3.10 10.3.11 10.3.12 10.3.13 Reserved Register (Index=27h, Default=00h) Reserved Register (Index=28h, Default=00h) Reserved Register (Index=29h, Default=00h) Test 1 Register (Index=2Eh, Default=00h)
This register is the Test 1 Register and is reserved for ITE. It should not be set. 10.3.14 Test 2 Register (Index=2Fh, Default=00h)
This register is the Test 2 Register and is reserved for ITE. It should not be set. 10.4 FDC Configuration Registers (LDN=00h) 10.4.1 FDC Activate (Index=30h, Default=00h) Bit
7-1 0 Reserved FDC Enable. 1: Enabled. 0: Disabled.
Description
22
IT8673F
10.4.2 FDC Base Address MSB Register (Index=60h, Default=03h) Bit
7-4 3-0 Read only, with "0h" for Base Address [15:12]. Mapped as Base Address [11:8].
Description
10.4.3 FDC Base Address LSB Register (Index=61h, Default=F0h) Bit
7-3 2-0 Read/write, mapped as Base Address[7:3]. Read only as "000b".
Description
10.4.4 FDC Interrupt Level Select (Index=70h, Default=06h) Bit
7-4 3-0 Reserved with default "0h". Select the interrupt level note1 for FDC.
Description
10.4.5 FDC DMA Channel Select (Index=74h, Default=02h) Bit
7-3 2-0 Reserved with default "00h". Select the DMA channel
note2
Description
for FDC.
10.4.6 FDC Special Configuration Register (Index=F0h, Default=00h) Bit
7-4 3 2 1 0 Reserved with default "00h". 1 : IRQ sharing. 0 : Normal IRQ. 1 : Swap Floppy Drives A, B. 0 : Normal. 1 : 3-Mode. 0 : AT Mode. 1 : Software Write Protect. 0 : Normal.
Description
10.5 Serial Port 1 Configuration Registers (LDN=01h) 10.5.1 Serial Port 1 Activate (Index=30h, Default=00h) Bit
7-1 0 Reserved Serial Port 1 Enabled. 1: Enabled. 0: Disabled.
Description
23
IT8673F
10.5.2 Serial Port 1 Base Address MSB Register (Index=60h, Default=03h) Bit
7-4 3-0 Read only as "0h" for Base Address[15:12]. Read/write, mapped as Base Address[11:8].
Description
10.5.3 Serial Port 1 Base Address LSB Register (Index=61h, Default=F8h) Bit
7-3 2-0 Read/write, mapped as Base Address[7:3]. Read only as "000b".
Description
10.5.4 Serial Port 1 Interrupt Level Select (Index=70h, Default=04h) Bit
7-4 3-0 Reserved with default "0h". Select the interrupt level note1 for Serial Port 1.
Description
10.5.5 Serial Port 1 Special Configuration Register (Index=F0h, Default=00h) Bit
7-3 Reserved with default "00h". Clock Source. 00: 24 MHz/13 (Standard) 2-1 01: 24 MHz/12 (MIDI) 10: Reserved 11: Reserved 0 1 : IRQ sharing. 0 : Normal.
Description
10.6 Serial Port 2 Configuration Registers (LDN=02h) 10.6.1 Serial Port 2 Activate (Index=30h, Default=00h) Bit
7-1 0 Reserved Serial Port 2 Enable. 1: Enabled. 0: Disabled.
Description
24
IT8673F
10.6.2 Serial Port 2 Base Address MSB Register (Index=60h, Default=02h) Bit
7-4 3-0 Read only with "0h" for Base Address[15:12]. Read/write, mapped as Base Address[11:8].
Description
10.6.3 Serial Port 2 Base Address LSB Register (Index=61h, Default=F8h) Bit
7-3 2-0 Read/write, mapped as Base Address[7:3]. Read only as "000b".
Description
10.6.4 Consumer IR Base Address MSB Register (Index=62h, Default=03h) Bit
7-4 3-0 Read only with "0h" for Base Address[15:12]. Read/write, mapped as Base Address[11:8].
Description
10.6.5 Consumer IR Base Address LSB Register (Index=63h, Default=00h) Bit
7-3 2-0 Read/write, mapped as Base Address[7:3]. Read only as "000b".
Description
10.6.6 Serial Port 2 Interrupt Level Select (Index=70h, Default=03h) Bit
7-4 3-0 Reserved with default "0h". Select the interrupt level note1 for Serial Port 2.
Description
10.6.7 Consumer IR Interrupt Level Select (Index=72h, Default=00h) Bit
7-4 3-0 Reserved with default "0h." Select the interrupt level note1 for Serial Port 2.
Description
25
IT8673F
10.6.8 Serial Port 2 Special Configuration Register 1 (Index=F0h, Default=00h) Bit
7-3 Reserved with default "00h." Clock Source. 00: 24 MHz/13 (Standard) 2-1 01: 24 MHz/12 (MIDI) 10: Reserved 11: Reserved 0 1 : IRQ sharing. 0 : Normal.
Description
10.6.9 Serial Port 2 Special Configuration Register 2 (Index=F1h, Default=40h) Bit
7 6 5 4 3
Description
1: No transmission delay (40 bits) when the SIR or ASKIR is changed from RX mode to TX mode. 0: Transmission delay (40 bits) when the SIR or ASKIR is changed from RX mode to TX mode. 1: No reception delay (40 bits) when the SIR or ASKIR is changed from TX mode to RX mode. 0: Reception delay (40 bits) when the SIR or ASKIR is changed from TX mode to RX mode. Single Mask Mode: When set, the RX of UART is masked under TX transmission. 1 : Half Duplex. 0 : Full Duplex (default). CIR enable. IR Mode Select 000: Standard (default). 001: IrDA 1.0 (HP SIR). 010 : ASKIR. else : Reserved.
2-0
10.7 Parallel Port Configuration Registers (LDN=03h) 10.7.1 Parallel Port Activate (Index=30h, Default=00h) Bit
7-1 0 Reserved Parallel Port Enabled. 1: Enabled. 0: Disabled.
Description
10.7.2 Parallel Port Primary Base Address MSB Register (Index=60h, Default=03h) Bit
7-4 3-0 Read only as "0h" for Base Address[15:12]. Read/write, mapped as Base Address[11:8].
Description
26
IT8673F
10.7.3 Parallel Port Primary Base Address LSB Register (Index=61h, Default=78h) If bit 2 is set to 1, the EPP mode is disabled automatically. Bit
7-2 1-0 Read/write, mapped as Base Address[7:2]. Read only as "00b".
Description
10.7.4 Parallel Port Secondary Base Address MSB Register (Index=62h, Default=07h) Bit
7-4 3-0 Read only as "0h" for Base Address[15:12]. Read/write, mapped as Base Address[11:8].
Description
10.7.5 Parallel Port Secondary Base Address LSB Register (Index=63h, Default=78h) Bit
7-2 1-0 Read/write, mapped as Base Address[7:2]. Read only as "00b".
Description
10.7.6 Parallel Port Interrupt Level Select (Index =70h, Default=07h) Bit
7-4 3-0 Reserved with default "0h". Select the interrupt level note1 for Parallel Port.
Description
10.7.7 Parallel Port DMA Channel Select (Index=74h, Default=03h) Bit
7-3 2-0 Reserved with default "00h." Select the DMA channel note2 for Parallel Port.
Description
10.7.8 Parallel Port Special Configuration Register (Index=F0h, Default=03h) Bit
7-3 2 Reserved 1 : IRQ sharing. 0 : Normal. Parallel Port mode 1-0 00 : Standard Parallel Port mode (SPP) 01 : EPP mode 10 : ECP mode 11 : EPP mode and ECP mode
Description
27
IT8673F
If bit 1 is set, ECP mode is enabled. If bit 0 is set, EPP mode is enabled. These two bits are independent. However, according to the EPP spec., when Parallel Port Primary Base Address bit 2 is set to 1, the EPP mode cannot be enabled. 10.8 FAN Controller Configuration Registers (LDN=04h) 10.8.1 FAN Controller Activate Register (Index=30h, Default=00h) Bit
7-1 0 Reserved FAN Controller Enabled. 1: Enabled. 0: Disabled.
Description
10.8.2 FAN Controller Base Address MSB Register (Index=60h, Default=00h) Bit
7-4 3-0 Read only as "0h" for Base Address[15:12]. Read/write, mapped as Base Address[11:8].
Description
10.8.3 FAN Controller Base Address LSB Register (Index=61h, Default=80h) Bit
7-3 2-0 Read/write, mapped as Base Address[7:3]. Read only as "000b".
Description
10.8.4 PME# Direct Access Base Address MSB Register (Index=62h, Default=02h) Bit
7-4 3-0 Read only as "0h" for Base Address[15:12]. Read/write, mapped as Base Address[11:8].
Description
10.8.5 PME# Direct Access Base Address LSB Register (Index=63h, Default=00h) Bit
7-3 2-0 Read/write, mapped as Base Address[7:3]. Read only as "000b".
Description
10.8.6 FAN Controller Interrupt Level Select (Index=70h, Default=09h) Bit
7-4 3-0 Reserved with default "0h". Select the interrupt level note1 for FAN Controller.
Description
28
IT8673F
10.8.7 APC/PME# Event Enable Register (PER) (Index=F0h, Default=00h) Bit
7 6 5 Reserved RING# event enable. 1 : Enabled. 0 : Disabled. PS/2 Mouse event enable. 4 1 : Enabled. 0 : Disabled. Keyboard event enable. 3 1 : Enabled. 0 : Disabled. RI2# event enable. 2 1 : Enabled. 0 : Disabled. RI1# event enable. 1 0 1 : Enabled. 0 : Disabled. Reserved
Description
It is set to 1 when VCCH is OFF. Writing 1 to clear this bit. This bit is ineffective if a 0 is written to this bit.
10.8.8 APC/PME# Status Register (PSR) (Index=F1h, Default=00h) Bit
7 6 5 4 3 2 1 0 Reserved RING# Event Detected. PS/2 Mouse Event Detected. Keyboard Event Detected. RI2# Event Detected. RI1# Event Detected. Reserved
Description
It is set to 1 when VCC is ON at last AC power failure and 0 when VCC is OFF.
29
IT8673F
10.8.9 APC/PME# Control Register 1 (PCR 1) (Index=F2h, Default=00h) Bit
7 6 5 4 3 PER and PSR normal run access enable. Reserved This bit is restored automatically to the previous VCC state before power failure occurs. Disables all APC events after the power failure occurs, excluding PANSWH#. Keyboard event mode selection when VCC is ON. 1 : Determined by PCR 2. 0 : Pulse falling edge on KCLK. Mouse event when VCC is OFF. 2 1 : Double click Key. 0 : Pulse falling edge on MCLK. Mouse event when VCC is ON. 1 1 : Double click Key. 0 : Pulse falling edge on MCLK. RING# Event Mode Selection. 0 1 : Pulse train mode. 0 : Pulse falling edge mode.
Description
10.8.10 Bit
7-1 0
FAN Controller Special Configuration Register (Index=F3h, Default=00h) Description
Reserved 1 : IRQ sharing. 0 : Normal.
10.8.11 Bit
7 6 5 4
APC/PME# Control Register 2 (PCR 2) (Index=F4h, Default=00h) Description
Pin 93 function selection. 1: PME#. 0: APC PWRON#. Reserved PSON state when VCCH is switched from OFF to ON under VCC OFF state. Masks PANSWH# power-on event. Key Number of the Keyboard power-up event. 00: 5 (Key string mode), 3(Stroke keys at same time mode) 01: 4 (Key string mode), 2(Stroke keys at same time mode) 10: 3 (Key string mode), 1(Stroke keys at same time mode) 11: 2 (Key string mode), Reserved (Stroke keys at same time mode) Keyboard power-up event mode selection. 00: KCLK falling edge 01: Key string mode 10: Stroke keys at same time mode 11: Reserved
3-2
1-0
30
IT8673F
10.8.12 Bit
7-6 5-0 Reserved (should be "00") Indicate which Identification Key Code or CIR code register is to be read/written via 0xF6.
APC/PME# Special Code Index Register (Index=F5h) Description
10.8.13
APC/PME# Special Code Data Register (Index=F6h)
There are 5 bytes for Key String mode, and 3 bytes for Stroke Keys at same time mode. 10.9 KBC (keyboard) Configuration Registers (LDN=05h) 10.9.1 KBC (keyboard) Activate (Index=30h, Default=01h or 00h) Bit
7-1 Reserved KBC(Keyboard) Enable. 1: Enabled. 0 0: Disabled. This is a read/write register. The default value depends on the state of the DTR2# when RESET is activated. The default value is 1b for the High state of DTR2# when RESET is activated. It is 0b for the low state of DTR2# when RESET is activated.
Description
10.9.2 KBC (keyboard) Data Base Address MSB Register (Index=60h, Default=00h) Bit
7-4 3-0 Read only as "0h" for Base Address [15:12]. Read/write, mapped as Base Address [11:8].
Description
10.9.3 KBC (keyboard) Data Base Address LSB Register (Index=61h, Default=60h) Bit
7-0 Read/write, mapped as Base Address[7:0].
Description
10.9.4 KBC (keyboard) Command Base Address MSB Register (Index=62h, Default=00h) Bit
7-4 3-0 Read only as "0h" for Base Address[15:12]. Read/write, mapped as Base Address[11:8].
Description
10.9.5 KBC (keyboard) Command Base Address LSB Register (Index=63h, Default=64h) Bit
7-0 Read/write, mapped as Base Address[7:0].
Description
31
IT8673F
10.9.6 KBC (keyboard) Interrupt Level Select (Index=70h, Default=01h) Bit
7-4 3-0 Reserved with default "0h". Select the interrupt level
note1
Description
for KBC (keyboard).
10.9.7 KBC (keyboard) Interrupt Type (Index=71h, Default=02h) This register indicates the type of interrupt set for KBC (keyboard) and is read only as "02h" when bit 1 of the KBC (keyboard) Special Configuration Register is cleared. If set, this type of interrupt can be selected as level or edge trigger. Bit
7-2 1 0 Reserved 1: High Level. 0: Low Level. 1: Level Type. 0: Edge Type.
Description
10.9.8 KBC (keyboard) Special Configuration Register (Index=F0h, Default=00h) Bit
7 6 5 4 3 2 1 0 Reserved Reserved Reserved 1: IRQ sharing. 0: normal. 1:KBC's clock 8 MHz. 0:KBC's clock 12 MHz. 1: Key lock enabled. 0: Key lock disabled. 1: Type of interrupt of KBC (keyboard) can be changed. 0: Type of interrupt of KBC (keyboard) is fixed. 1: Enables the External Access ROM of 8042. 0: Internal built-in ROM is used.
Description
10.10 10.10.1 Bit
7-1 0
KBC (mouse) Configuration Registers (LDN=06h) KBC (mouse) Activate (Index=30h, Default=00h) Description
Reserved KBC (mouse) Enable. 1: Enabled. 0: Disabled.
10.10.2 Bit
7-4 3-0
KBC (mouse) Interrupt Level Select (Index=70h, Default=0Ch) Description
Reserved with default "0h". Select the interrupt level note1 for KBC (mouse).
32
IT8673F
10.10.3 KBC (mouse) Interrupt Type (Index=71h, Default=02h) This register indicates the type of interrupt used for KBC (mouse) and is read only as "02h" when bit 0 of the KBC (mouse) Special Configuration Register is cleared. When bit 0 is set, the type of interrupt can be selected as level or edge trigger. Bit
7-2 1 0 Reserved 1: High Level. 0: Low Level. 1: Level Type. 0: Edge Type.
Description
10.10.4 Bit
7-2 1 0
KBC (mouse) Special Configuration Register (Index=F0h, Default=00h) Description
Reserved with default "00h." 1: IRQ sharing. 0: Normal. 1: Type of interrupt of KBC (mouse) can be changed. 0: Type of interrupt of KBC (mouse) is fixed.
10.11 10.11.1 Bit
7-4 3-0
GPIO Configuration Registers (LDN=07h) CS0 Base Address MSB Register (Index=60h, Default=00h) Description
Read only as "0h" for Base Address [15:12]. Read/write, mapped as Base Address [11:8].
10.11.2 Bit
7-0
CS0 Base Address LSB Register (Index=61h, Default=00h) Description
Read/write, mapped as Base Address[7:0].
10.11.3 Bit
7-4 3-0
CS1 Base Address MSB Register (Index=62h, Default=00h) Description
Read only as "0h" for Base Address [15:12]. Read/write, mapped as Base Address [11:8].
10.11.4 Bit
7-0
CS1 Base Address LSB Register (Index=63h, Default=00h) Description
Read/write, mapped as Base Address[7:0].
33
IT8673F
10.11.5 Bit
7-4 3-0 Read only as "0h" for Base Address [15:12]. Read/write, mapped as Base Address [11:8].
CS2 Base Address MSB Register (Index=64h, Default=00h) Description
10.11.6 Bit
7-0
CS2 Base Address LSB Register (Index=65h, Default=00h) Description
Read/write, mapped as Base Address[7:0].
10.11.7 Bit
7-4 3-0
Simple I/O Base Address MSB Register (Index=66h, Default=00h) Description
Read only as "0h" for Base Address[15:12]. Read/write, mapped as Base Address[11:8].
10.11.8 Bit
7-0
Simple I/O Base Address LSB Register (Index=67h, Default=00h) Description
Read/write, mapped as Base Address[7:0].
10.11.9 Bit
7-4 3-0
Panel Button De-bounce Base Address MSB Register (Index=68h, Default=00h) Description
Read only as "0h" for Base Address[15:12]. Read/write, mapped as Base Address[11:8].
10.11.10 Panel Button De-bounce Base Address LSB Register (Index=69h, Default=00h) Bit
7-0 Read/write, mapped as Base Address[7:0].
Description
34
IT8673F
10.11.11 GP IRQ Steering 1 Control Register (Index=70h, Default=00h) Bit
7-4 3-0 Reserved Select the interrupt level note1 for GPIO.
Description
10.11.12 GP IRQ Steering 1 Pin Mapping Register (Index=71h, Default=00h) Bit
7 6 5-0 Reserved GP IRQ Steering 1 IRQ Sharing enable. Please see Location mapping table note3 on page 40.
Description
10.11.13 GP IRQ Steering 2 Control Register (Index=72h, Default=00h) Bit
7-4 3-0 Reserved Select the interrupt level note1 for GPIO.
Description
10.11.14 GP IRQ Steering 2 Pin Mapping Register (Index=73h, Default=00h) Bit
7 6 5-0 Reserved GP IRQ Steering 1 IRQ Sharing enabled. Please see Location mapping table note3 on page 40.
Description
10.11.15 GP Set Selection Register (Index=F0h, Default=00h) This register is used to determine which set will be accessed by the later accessing of Index F1h, F2h. If accessing F3h, F4h, F5h, F6h, and F7h, this register should be fixed at 00h. Please refer to the Location mapping table note3 on page 40. 10.11.16 CSX Pin Mapping Register (Index=F1h, Default=00h) This register is used to determine CSX output pin mapping. Before accessing this register, the GP set selection register must be determined first (00h for CS0, 01h for CS1 and 02h for CS2). Bit
7-6 5-0 Reserved Please see Location mapping table note3 on page 40.
Description
35
IT8673F
10.11.17 CSX Control Register (Index=F2h, Default=00h) Before accessing this register, the GP set selection register must be determined first (00h for CS0, 01h for CS1 and 02h for CS2). Bit
7-6
Description
Reserved Base Address Alignment. 00 : single port 01 : 2 ports 10 : 4 ports 11 : 8 ports Chip Select Type. 00 : Pure Address Decode 01 : Address Decode and IOR command 10 : Address Decode and IOW command 11 : Address Decode and (IOR or IOW command)
3-2
1-0
10.11.18 GPIO Pin Polarity Register (Index=F3h, Default=00h) This register is used to program the GP pin type as polarity inverting or non-inverting. Before accessing this register, the GP set selection register must be fixed at 00h. Bit
7-0 For each bit 1: Inverting. 0: Non-inverting.
Description
10.11.19 GPIO Pin Internal Pull-up Enable Register (Index=F4h, Default=00h) Before accessing this register, the GP set selection register must be fixed at 00h. Bit
7-0 For each bit 1: Enabled. 0: Disabled.
Description
10.11.20 Simple I/O Enable Register (Index=F5h, Default=00h) This register is used to select the function as either the Simple I/O or the Alternate function. Before accessing this register, the GP set selection register must be fixed at 00h. Bit
7-0 For each bit 1: Simple I/O. 0: Alternate function.
Description
36
IT8673F
10.11.21 Simple I/O Direction Selection Register (Index=F6h, Default=00h) This register is used to determine the direction of the Simple I/O. Before accessing this register, the GP set selection register must be fixed at 00h. Bit
7-0 For each bit 1: Input mode. 0: Output mode.
Description
10.11.22 Panel Button De-bounce Enable Register (Index=F7h, Default=00h) Before accessing this register, the GP set selection register must be fixed at 00h. Bit
7-0 For each bit 1: Enabled. 0: Disabled.
Description
10.11.23 Panel Button De-bounce Control Register/GP LED Blinking 2 Control Register (Index=F8h, Default=00h) Bit
7 GP LED 2 short low pulse enable. GP LED 2 frequency Control. 00: 4 Hz. 01: 1 Hz. 10: 1/4 Hz. 11: 1/8 Hz. GP LED 2 Output low enable. IRQ output type. 3 0: Edge mode. 1: Level mode. IRQ output enable. 2 0: Disabled. 1: Enabled. De-bounce time selection. 00: 8 ms (6 ms ignored, 8 ms pass) 01: 16 ms (12 ms ignored, 16 ms pass) 10: 32 ms (24 ms ignored, 21 ms pass) 11: 64 ms (48 ms ignored, 64 ms pass)
Description
6-5
4
1-0
10.11.24 Keyboard Lock Pin Mapping Register (Index=F9h, Default=00h) Bit
7-6 5-0 Reserved Keyboard Lock Pin Location. Please see Location mapping table note3 on page 40.
Description
37
IT8673F
10.11.25 GP LED Blinking 1 Pin Mapping Register (Index=FAh, Default=00h) Bit
7-6 5-0 Reserved GP LED Blinking Location. Please see Location mapping table
note3
Description
on page 40.
10.11.26 GP LED Blinking Control and RING# Pin Mapping Register (Index=FBh, Default=00h) Bit
7 Reserved Location of RING#. 000 : GPIO10 010 : GPIO11 (Only this pin can work under VCCH power) 011 : GPIO12 6-4 100 : GPIO13 101 : GPIO14 110 : GPIO15 001 : GPIO16 111 : GPIO17 3 GP LED 1 short low pulse enable. GP LED 1 frequency Control. 2-1 00: 4 Hz 01: 1 Hz 10: 1/4 Hz 11: 1/8 Hz 0 GP LED 1 Output low enabled.
Description
10.11.27 GP LED Blinking 2 Pin Mapping Register (Index=FCh, Default=00h) Bit
7-6 5-0 Reserved GP LED 2 Pin Location. Please see Location mapping table note3 on page 40.
Description
10.11.28 Reserved Register (Index=FDh, Default=00h) 10.11.29 PCI CLKRUN# Pin Mapping Register (Index=FEh, Default=00h) Bit
7-6 5-0 Reserved PCI CLKRUN# Pin Location. Please see Location mapping table note3 on page 40.
Description
38
IT8673F
10.11.30 SMI# Pin Mapping Register (Index=FFh, Default=00h) Bit
7-6 5-0 Reserved SMI# Pin Location. Please see Location mapping table
note3
Description
on page 40.
10.11.31 SMI# Control Register 1 (Index=E0h, Default=00h) Bit
7 6 5 4 3 2 1 0
Description
Enables the generation of an SMI# due to GP IRQ Steering 1's IRQ (EN_GPIRQ1). Enables the generation of an SMI# due to KBC(PS/2 Mouse)'s IRQ (EN_MIRQ). Enables the generation of an SMI# due to KBC(Keyboard)'s IRQ (EN_KIRQ). Enables the generation of an SMI# due to FAN Controller's IRQ (EN_ECIRQ). Enables the generation of an SMI# due to Parallel Port's IRQ (EN_PIRQ). Enables the generation of an SMI# due to Serial Port 2's IRQ (EN_S2IRQ). Enables the generation of an SMI# due to Serial Port 1's IRQ (EN_S1IRQ). Enables the generation of an SMI# due to FDC's IRQ (EN_FIRQ).
10.11.32 SMI# Control Register 2 (Index=E1h, Default=00h) Bit
7 6 5-2 1 0 0: Edge trigger. Reserved Enables the generation of an SMI# due to APC Switch Button(EN_BTN). Enables the generation of an SMI# due to GP IRQ Steering 2's IRQ (EN_GPIRQ2). 1: Level trigger.
Description
Forces to clear all the SMI# status register bits, non-sticky.
10.11.33 SMI# Status Register 1 (Index=E2h, Default=00h) This register is used to read the status of SMI# inputs. Bit
7 6 5 4 3 2 1 0 GP IRQ Steering 1's IRQ. KBC(PS/2 Mouse)'s IRQ. KBC(Keyboard)'s IRQ. FAN Controller's IRQ. Parallel Port's IRQ. Serial Port 2's IRQ. Serial Port 1's IRQ. FDC's IRQ.
Description
39
IT8673F
10.11.34 SMI# Status Register 2 (Index=E3h, Default=00h) This register is used to read the status of SMI# inputs. Bit
7-2 1 0 Reserved APC Switch Button. GP IRQ Steering 2's IRQ.
Description
Note1: Interrupt level mapping Fh-Dh: not valid Ch : IRQ12 . . 3h : IRQ3 2h : not valid 1h : IRQ1 0h : no interrupt selected Note2: DMA channel mapping 7h-5h : not valid 4h : no DMA channel selected 3h : DMA3 2h : DMA2 1h : DMA1 0h : not valid Note3: The Location mapping
Location
001 000 001 001 001 010 001 011 001 100 001 101 001 110 001 111 else
Description
GPIO10 (pin 66). GPIO11 (pin 90). Powered by VCCH. GPIO12 (pin 73). GPIO13 (pin 72). GPIO14 (pin 71). GPIO15 (pin 70). GPIO16 (pin 69). GPIO17 (pin 68). Reserved
40
IT8673F
11. Functional Description
11.1 General Purpose I/O IT8673F provides flexible I/O control and special functions for the system designers through a set of General Purpose I/O pins (GPIO). Some of GPIO pins are multi-functional. The GPIO functions will not be performed unless the related enable bits of the GPIO Multi-function Pin Selection register (Index 25h of Global Configuration Register) are set. GPIO function includes the simple I/O function and alternate function, and the function selection is determined by Simple I/O Enable Register (Index=F5h). The Simple I/O function includes a set of registers, which correspond to the GPIO pins. The accessed I/O ports are programmable. Base Address is programmed on the GPIO Simple I/O Base Address LSB and MSB registers (LDN=07h, Index=66h and 67h). The Alternate Function provides several special functions for users, including three chip select strobes (CS0, CS1, CS2), SMI# output routing, Interrupt steering, Panel Button De-bounce, Keyboard Lock input routing, LED Blinking, PCI CLKRUN# routing, and RING routing (sub-function of APC). All these functions can be programmed to all GPIO pins, except the RING# function. The GP set selection register (Index=F0h) is used to determine the set X of the some registers (Index=F1h and F2h). Before these registers can be programmed, this register (Index=F0h) must be determined in first. IT8673F provides flexible control registers related to each of three chip select strobes. Each chip select strobe can be programmed as 1, 2, 4 or 8 via consecutive I/O ports decoding. Each chip select strobe can also be programmed to qualify with IOR# or IOW# strobe. There are four types of qualifying conditions: pure address decided, asserted on address matching and IOR# asserted, asserted on address matching and IOW# asserted, asserted on address matching and IOR# or IOW# asserted. The Key Lock function locks the keyboard to invalidate any key stroke. The programming method is to set bit 2 on the KBC (keyboard) Special Configuration Register (Index=F0h, LDN=05h). The Keyboard Lock Pin Mapping Register (Index=F9h) must also be programmed correctly. The Interrupt steering function provides a useful feature for motherboard designers. Through this mapping method, the interrupt of other on-board devices can be easily modified by programming the registers of Index = 70h, 71h, 72h, and 73h. The Blinking function provides a low frequency blink output. By connecting to some external components, it can be used to control a power LED. There are several frequencies that can be selected. The PCI CLKRUN# output is used to resume the PCI CLOCK in system power down mode, when the IT8673F devices (Serial Port 1, Serial Port 2, Parallel Port...) request to generate an interrupt through SIRQ protocol. All the devices will not be resumed unless the related enable bits in SMI# control register 1 and 2 are set. The SMI# is a non-maskable interrupt dedicated for transparent power management. It consists of different enable interrupts from each of the functional blocks in IT8673F. The interrupts are enabled onto the SMI# output via the SMI# control register 1 and SMI# control register 2. The SMI# status registers 1 and 2 are used to read the status of the SMI input events. All the SMI# status register bits can be cleared when the corresponding sources events become invalidated. These bits can also be cleared by writing 1 to bit 7 of SMI# control register 2, whether the events of the corresponding sources are invalidated or not. The SMI# can be programmed as pulse mode or level mode whenever an SMI# event occurs. The logic equation of the SMI# event is described below: SMI# event = (EN_FIRQ and FIRQ) or (EN_S1IRQ and S1IRQ) or (EN_S2IRQ and S2IRQ) or (EN_PIRQ and PIRQ) or (EN_KBC(Keyboard) and KIRQ) or (EN_KBC(Mouse) and MIRQ) or (EN_GPIRQ1 and GPIRQ1) or (EN_GPIRQ2 or GPIRQ2). 41
IT8673F
11.2 Advanced Power Supply Control and PME# The circuit for advanced power supply control (APC) provides three power-up events, Keyboard, Mouse, and RING#. When any of these three events is true, PWRON# will perform a low state until VCC is switched to ON state. The three events include: 1. Detection of RING# pulse or pulse train on the programmed RING# input pin(LDN=04h, Index=FBh, bits 6-4). 2. Detection of KCLK edge or special pattern of KCLK and KDAT. The special pattern of KCLK means pressing pre-set key string sequentially, and KDAT means pressing pre-set keys simultaneously. 3. Detection of MCLK edge or special pattern of MCLK and MDAT. The special pattern of MCLK and MDAT means double clicking on any mouse buttons. The PANSWH# and PSON are especially designed for PIIX4. PANSWH# serves as a main power switch input which is wire-AND to the APC output PWRON#. PSON is the ATX Power control output, which is a power-failure gating circuit. The power-failure gating circuit is responsible for gating the SUSC# until PANSWH# becomes active when the VCCH is switched from OFF to ON. The power-failure gating circuit can be disabled by setting the APC/PME Control Register 2 (LDN=04h, Index=F4h, bit 5). The gating circuit also provides an auto-restore function. When the bit 5 of PCR1 is set, the previous PSON state will be restored when the VCCH is switched from OFF to ON. The RING# function is used to power on the system from modem, fax, etc. It can be programmed to detect a pulse train with pulse low. The Mask PWRON# Activation bit (bit 4 of PCR 1) is used to mask all Power-up events except Switch on event when the VCCH state is just switched from FAIL to OFF. In other words, when this bit is set and the power state is switched from FAIL to OFF, the only validated function is PANSWH#. The PCR2 register is responsible for determining the Keyboard power up events and APC conditions. Bit 7 of PCR2 is used to select the function of pin 93 (APC Power up events or PCI PME# output). Bit 4 is used to mask the PANSWH# power-on event. To enable this bit, the keyboard power-up event should be enabled and set by (1) pressing pre-set key string sequentially or (2) stroking pre-set keys simultaneously. The APC/PME# special code index and data registers are used to specify the special key codes in the special power-up events of (1) pressing pre-set key string sequentially or (2) stroking pre-set keys simultaneously. When bit 7 of PCR2 is set to 1, PME# function is selected. There are two differences. When any one of the three power-up events is true, the output of pin 115 goes low until the corresponding status bit is written to "1". PME# function is validated in both VCC ON and OFF states. All APC registers (Index=F0h, F2h, F4h, F5h and F6h) are powered by back-up power (VBAT) when VCCH is OFF. 11.3 FAN Controller The FAN Controller, built in the IT8673F, include three FAN Tachometers, and three sets of advanced FAN Controllers. FAN Tachometer inputs are digital inputs with an acceptable input range of 0V to 5V, and are responsible for measuring the FAN's Tachometer pulse periods. FAN_TAC1 and FAN_TAC2 are included with programmable divisors, and can be used to measure different fan speed ranges. FAN_TAC3 is included with fixed divisor, and can only be used in default range.
42
IT8673F
11.3.1 Interfaces ISA Bus: The FAN Controller of IT8673F decodes four addresses on the ISA bus. Table 11-1. Address Map on the ISA Bus Register or Port
Address register of the Fan Controller Data register of the Fan Controller
Address
Base+05h Base+06h
Note 1. The Base Address is determined by the Logical Device configuration registers of FAN Controller (LDN=04h, registers Index= 60h, 61h).
To access an FAN Controller's register, the address of the register is written to the address port (Base+05h). Read or write data from or to that register via data port (Base+06h). 11.3.2 Registers 11.3.2.1 Address Port (Base+05h, Default=00h) Bit
7 Outstanding; Read only This bit is set when a data write is performed to Address Port via the ISA bus or when a Serial Bus transaction is in progress. This bit can be cleared when the Serial Bus transaction is completed, or when a data write/read is performed to/from Data Port. 6-0 Index: Internal Address of RAM and Registers.
Description
43
IT8673F
Table 11-2. FAN Controller Registers Index
28h-2Ah
Register
FAN_TAC1-3 Reading
Default
08h 00h 00h 00h 00h 00h 0Xh 5Xh 00h 00h 90h
Description
FAN Tachometer 1-3 Reading Register; the counts number of the internal clock per resolution FAN Tachometer 1-3 Count Limit Register
3Bh-3Dh FAN_TAC1-3 Limit 40h 41h 42h 43h 44h 45h 46h 47h 51h 52h 58h Configuration Interrupt Status 1 Interrupt Status 2 SMI# Mask 1 SMI# Mask 2 Interrupt Mask 1 Interrupt Mask 2 FAN Tachometer Divisor FAN control FAN Set X PWM Control Vendor ID
Auto increment to the index of Interrupt status 2
Auto increment to the index of SMI# Mask 2
Auto increment to the index of Interrupt Mask 2
The divisor values of the FAN Tachometer. FAN control registers FAN PWM Control Register ITE Vendor ID. Read Only Register
Note: X indicates 1 or 2 or 3. 11.3.2.2 Register Description 11.3.2.2.1 Configuration Register (Index=40h, Default=08h) Bit
7 6
R/W
R/W R/W
Description
Initialization. A "1" restores all registers to their individual default values, except the Serial Bus Address register. This bit clears itself when the default value is "0". ON/OFF control of FAN_CTL1. This bit is used to control FAN_CTL1 when FAN_CTL1 mode (Bit 0 of the register Index=51h) is set to ON_OFF mode. 0: OFF. 1: ON. Reserved
5-4 3 2 1 0 R/W R/W R/W R/W
INT_Clear. A "1" disables the SMI# and IRQ outputs with the contents of interrupt status bits remain unchanged. IRQ enables the IRQ Interrupt output. SMI# Enable. A "1" enables the SMI# Interrupt output. Reserved
11.3.2.2.2 Interrupt Status Register 1 (Index=41h, Default=00h) Reading this register will clear itself following a read access. Bit
7 6 5-0
R/W
R R -
Description
A "1" indicates the FAN Count 2 limit has been reached. A "1" indicates the FAN Count 1 limit has been reached. Reserved
44
IT8673F
11.3.2.2.3 Interrupt Status Register 2 (Index=42h, Default=00h) Reading this register will clear itself after the read operation is completed. Bit
7-5 4 3 2-0
R/W
R R Reserved
Description
A "1" indicates a Case Open has occurred. A "1" indicates the FANM Count 3 limit has been reached. Reserved
11.3.2.2.4 SMI# Mask Register 1 (Index=43h, Default=00h) Bit
7 6 5-0
R/W
R/W R/W R/W
Description
A "1" disables the FANM Count 2 interrupt status bit for SMI#. A "1" disables the FANM Count 1 interrupt status bit for SMI#. Reserved
11.3.2.2.5 SMI# Mask Register 2 (Index=44h, Default=00h) Bit
7-5 4 3 2-0
R/W
R/W R/W R/W Reserved
Description
A "1" disables the Case Open Intrusion interrupt status bit for SMI#. A "1" disables the FANM count 3 interrupt status bit for SMI#. Reserved
11.3.2.2.6 Interrupt Mask Register 1 (Index=45h, Default=00h) Bit
7 6 5-0
R/W
R/W R/W R/W
Description
A "1" disables the FANM Count 2 interrupt status bit for IRQ. A "1" disables the FANM Count 1 interrupt status bit for IRQ. Reserved
11.3.2.2.7 Interrupt Mask Register 2 (Index=46h, Default=0Xh) Bit
7 6-5 4 3 2-0
R/W
R/W R/W R/W R/W Reserved
Description
A "1" outputs an active high pulse on the Case Open pin (COPEN#). A "1" disables the Case Open interrupt status bit for IRQ. A "1" disables the FANM count 3 interrupt status bit for IRQ. Reserved
45
IT8673F
11.3.2.2.8 FAN Tachometer Divisor Register (Index=47h, Default=5Xh) Bit
7-6
R/W
R/W FAN Tachometer Count 2 divisor 00: divided by 1 01: divided by 2 10: divided by 4 11: divided by 8
Description
5-4
R/W
FAN Tachometer Count 1 divisor 00: divided by 1 01: divided by 2 10: divided by 4 11: divided by 8
3-0
R
Reserved
11.3.2.2.9 FAN Control Register (Index=51h, Default=00h) Bit
7-6
R/W
R/W FAN control registers set selection 00: FAN_CTL1 01: FAN_CTL2 10: FAN_CTL3 11: reserved
Description
5 4
R/W
Reserved. Should be fixed at 0. ON/OFF control of FAN_CTL3. This bit is used to control FAN_CTL3 when FAN_CTL3 mode is set on ON_OFF mode (Bit 2 of this register is set to 0). 0: OFF. 1: ON. ON/OFF control of FAN_CTL2. This bit is used to control FAN_CTL2 when FAN_CTL2 mode is set on ON_OFF mode (Bit 1 of this register is set to 0). 0: OFF. 1: ON. 1: PWM mode. 1: PWM mode. 1: PWM mode. FAN_CTL3 mode. 0: ON_OFF mode. FAN_CTL2 mode. 0: ON_OFF mode. FAN_CTL1 mode. 0: ON_OFF mode.
3
R/W
2 1 0
R/W R/W R/W
11.3.2.2.10
FAN Set X PWM Control Register (Index=52h, Default=00h)
The Sex X is determined in the FAN Control Register bits 7-6. Bit
7 6-0
R/W
R/W R/W Reserved. Should write a "0".
Description
PWM value. There are 128 steps of the FAN_CTL output pin are provided to control fan speeds.
46
IT8673F
11.3.3 Operation 11.3.3.1 Power On RESET and Software RESET
When the system power is first applied, the FAN Controller performs a "power on reset" on the registers which are returned to default values (due to system hardware reset). 11.3.3.2 Fan Tachometer
The Fan Tachometer inputs gate a 22.5 kHz clock into an 8-bit counter (maximum count=255) for one period of the input signals. Several divisors, located in FAN Divisor Register, are provided for FAN_TAC1 and FAN_TAC2, and are used to modify the monitoring range. FAN_TAC3 is not adjustable, and its divisor value is always set to 2. Counts are based on 2 pulses per resolution tachometer output. RPM = 1.35 X 10 / (Count X Divisor) The maximum input signal range is from 0 to VCC. The additional application is needed to clamp the input voltage and current. 11.3.3.3 Fan Controller ON-OFF and SmartGuardian Modes
6
The IT8673F provides advanced FAN Controllers. Two modes are provided for each controller: ON_OFF and PWM modes. The former is a logical ON or OFF, and the latter is a PWM output. With the addition of external application, the Fan's voltage values can be varied easily. 11.4 Floppy Disk Controller (FDC) 11.4.1 Introduction The Floppy Disk Controller provides the interface between a host processor and up to two floppy disk drives. It integrates a controller and a digital data separator with write precompensation, data rate selection logic, microprocessor interface, and a set of registers. The FDC supports data transfer rates of 250 Kbps, 300 Kbps, 500 Kbps, and 1 Mbps. It operates in PC/AT mode and supports 3-Mode type drives. Additionally, the FDC is software compatible with the 82077. The FDC configuration is handled by software and a set of Configuration registers. Status, Data, and Control registers facilitate the interface between the host microprocessor and the disk drive, providing information about the condition and/or state of the FDC. These configuration registers can select the data rate, enable interrupts, drives, and DMA modes, and indicate errors in the data or operation of the FDC/FDD. The controller manages data transfers using a set of data transfer and control commands. These commands are handled in three phases: Command, Execution, and Result. Not all commands utilize all these three phases. 11.4.2 Reset The IT8673F device implements both software and hardware reset options for the FDC. Either type of the resets will reset the FDC, terminating all operations and placing the FDC into an idle state. A reset during a write to the disk will corrupt the data and the corresponding CRC.
47
IT8673F
11.4.3 Hardware Reset (RESET Pin) When the FDC receives a RESET signal, all registers of the FDC core are cleared (except those programmed by the SPECIFY command). To exit the reset state, the host must clear the DOR bit. 11.4.4 Software Reset (DOR Reset and DSR Reset) When the reset bit in the DOR or the DSR is set, all registers of the FDC core are cleared. A reset performed by setting the reset bit in the DOR has higher priority over a reset performed by setting the reset bit in the DSR. In addition, to exit the reset state, the DSR bit is self-clearing, while the host must clear the DOR bit. 11.4.5 Digital Data Separator The internal digital data separator is comprised of a digital PLL and associated support circuitry. It is responsible for synchronizing the raw data signal read from the floppy disk drive. The synchronized signal is used to separate the encoded clock from the data pulses. 11.4.6 Write Precompensation Write precompensation is a method that can be used to adjust the effects of bit shift on data as it is written to the disk. It is harder for the data separator to read data that has been subject to bit shifting. Soft read errors can occur due to such bit shifting. Write precompensation predicts where the bit shifting might occur within a data pattern and shifts the individual data bits back to their nominal positions. The FDC permits the selection of write precompensation via the Data Rate Select Register (DSR) bits 2 through 4. 11.4.7 Data Rate Selection Selecting one of the four possible data rates for the attached floppy disks is accomplished by setting the Diskette Control Register (DCR) or Data Rate Select Register (DSR) bits to 0 and 1. The data rate is determined by the last value that is written to either the DCR or the DSR. When the data rate is set, the data separator clock is scaled appropriately. 11.4.8 Status, Data and Control Registers 11.4.8.1 Digital Output Register (DOR, FDC Base Address + 02h) This is a Read/Write register. It controls drive selection and motor enables as well as a software reset bit and DMA enable. The I/O interface reset may be used at any time to clear the DOR's contents.
48
IT8673F
Table 11-3. Digital Output Register (DOR) Bit
7-6 5 4 3
Symbol
MOTB EN MOTA EN DMAEN -
Name
Reserved 0: Disable Drive B motor. 1: Enable Drive B motor. 0: Disable Drive A motor. 1: Enable Drive A motor. Drive B Motor Enable Drive A Motor Enable Disk Interrupt and DMA Enable FDC Function Reset
Description
0: Disable disk interrupt and DMA (DRQx, DACKx#, TC and INTx). 1: Enable disk interrupt and DMA. 0: Reset FDC function. 1: Clear reset of FDC function. This reset does not affect the DSR, DCR or DOR.
2
RESET#
1 0
DVSEL
Drive Selection
Reserved 0: Selects Drive A. 1: Selects Drive B.
11.4.8.2 Tape Drive Register (TDR, FDC Base Address + 03h) This is a read/write register and is included for 82077 software compatibility. The contents of this register are not used internal to the device. Table 11-4. Tape Drive Register (TDR) Bit
7-2 1-0
Symbol
NU
Name
Not Used TP_SEL[1:0] : Drive selected. 00: None 01: 1 10: 2 11: 3
Description
TP_SEL[1:0] Tape Drive Selection
11.4.8.3 Main Status Register (MSR, FDC Base Address + 04h) This is a read only register. It indicates the general status of the FDC, and is able to receive data from the host. The MSR should be read before each byte is sent to or received from the Data register, except when in DMA mode.
49
IT8673F
Table 11-5. Main Status Register (MSR) Bit
7
Symbol
RQM
Name
Request for Master Data I/O Direction Non-DMA Mode
Description
FDC Request for Master. 0: The FDC is busy and cannot receive data from the host. 1: The FDC is ready and the host can transfer data. Indicates the direction of data transfer once a RQM has been set. 0: Write 1: Read This bit selects Non-DMA mode of operation. 0: DMA mode selected. 1: Non-DMA mode selected. This mode is selected via the SPECIFY command during the Execution phase of a command. Indicates whether a command is in progress (the FDD is busy). 0: A command has been executed and the end of the Result phase has been reached. 1: A command is being executed. Reserved Indicates whether Drive B is in the SEEK portion of a command. 0: Not busy. 1: Busy. Indicates whether Drive A is in the SEEK portion of a command. 0: Not busy. 1: Busy.
6
DIO
5
NDM
4
CB
Diskette Control Busy
3-2 1
DBB
Drive B Busy
0
DAB
Drive A Busy
11.4.8.4 Data Rate Select Register (DSR, FDC Base Address + 04h) This is a write only register. It is used to determine the data rate, amount of write precompensation, power down mode, and software reset. The data rate of the floppy controller is the most recent write of either the DSR or DCR. The DSR is unaffected by a software reset. The DSR can be set to 02h by a hardware reset, and the "02h" represents the default precompensation, and 250 Kbps indicates the data transfer rate.
50
IT8673F
Table 11-6. Data Rate Select Register (DSR) Bit
7 6
Symbol
S/W RESET POWER DOWN
Name
Description
5 4-2
NU PRE-COMP Precompensation These three bits are used to determine the value of write Select 2-0 precompensation that will be applied to the WDATA# pin. Track 0
Software Reset Software Reset. It is active high and shares the same function with the RESET# of the DOR except that this bit is self-clearing. Power Down When this bit is written with a "1", the floppy controller is put into manual low power mode. The clocks of the floppy controller and data separator circuits will be turned off until a software reset or the Data Register or Main Status Register is accessed. Not Used -
is the default starting track number, which can be changed by the CONFIGURE command for precompensation.
PRE_COMP Precompensation Delay 111 0.0 ns 001 41.7 ns 010 83.3 ns 011 125.0 ns 100 166.7 ns 101 208.3 ns 110 250.0 ns 000 Default Default Precompensation Delays Data Rate Precompensation Delay 1Mbps 41.7 ns 500Kbps 125.0 ns 300Kbps 125.0 ns 250Kbps 125.0 ns 1-0 DRATE1-0 Data Rate Select Bits 1-0 00 01 10 11 Data Transfer Rate 500 Kbps 300 Kbps 250 Kbps (default) 1 Mbps
11.4.8.5 Data Register (FIFO, FDC Base Address + 05h) This is an 8-bit read/write register. It transfers command information, diskette drive status information, and the result phase status between the host and the FDC. The FIFO consists of several registers in a stack. Only one register in the stack is permitted to transfer information or status to the data bus at a time. Table 11-7. Data Register (FIFO) Bit
7-0
Symbol
Name
Data
Description
Command information, diskette drive status, or result phase status data.
51
IT8673F
11.4.8.6 Digital Input Register (DIR, FDC Base Address + 07h) This is a read only register and shares this address with the Diskette Control Register (DCR). Table 11-8. Digital Input Register (DIR) Bit
7 6-0
Symbol
DSKCHG NU
Name
Diskette Change Not Used
Description
Indicates the inverting value of the bit monitored from the input of the Floppy Disk Change pin (DSKCHG#). -
11.4.8.7 Diskette Control Register (DCR, FDC Base Address + 07h) This is a write only register and shares this address with the Digital Input Register (DIR). The DCR register controls the data transfer rate for the FDC. Table 11-9. Diskette Control Register (DCR) Bit
7-2 1-0
Symbol
NU DRATE1-0
Name
Not Used Data Rate Select Bits 1-0 00 01 10 11
Description
Data Transfer Rate 500Kbps 300Kbps 250Kbps 1Mbps
11.4.9 Controller Phases The FDC handles data transfer and control commands in three phases: Command, Execution and Result. Not all commands utilize all these three phases. 11.4.9.1 Command Phase Upon reset, the FDC enters the Command phase and is ready to receive commands from the host. The host must verify that MSR bit 7 (RQM) = 1 and MSR bit 6 (DIO) = 0, indicating the FDC is ready to receive data. For each command, a defined set of command code and parameter bytes must be transferred to the FDC in a given order. See 11.4.11 and 11.4.12 for details on the various commands. RQM is set false (0) after each byte-Read cycle, and set true (1) when a new parameter byte is required. The Command phase is completed when this set of bytes has been received by the FDC. The FDC automatically enters the next controller phase and the FIFO is disabled. 11.4.9.2 Execution Phase Upon the completion of the Command phase, the FDC enters the Execution phase. It is in this phase that all data transfers occur between the host and the FDC. The SPECIFY command indicates whether this data transfer occurs in DMA or non-DMA mode. Each data byte is transferred via an IRQx or DRQx# based upon the DMA mode. On reset, the CONFIGURE command can automatically enable or disable the FIFO. The Execution phase is completed when all data bytes have been received. If the command executed does not require a Result phase, the FDC is ready to receive the next command. 52
IT8673F
11.4.9.3 Result Phase For commands that require data written to the FIFO, the FDC enters the Result phase when the IRQ or DRQ is activated. The MSR bit 7 (RQM) and MSR bit 6 (DIO) must equal to 1 to read the data bytes. The Result phase is completed when the host has read each of the defined set of result bytes for the given command. Right after the completion of the phase, RQM is set to 1, DIO is set to 0, and the MSR bit 4 (CB) is cleared, indicating the FDC is ready to receive the next command. 11.4.9.4 Result Phase Status Registers For commands that contain a Result phase, these Read only registers indicate the status of the most recently executed command. Table 11-10. Status Register 0 (ST0) Bit
7-6
Symbol
IC
Name
Interrupt Code
Description
00: Execution of the command has been completed correctly 01: Execution of the command began, but failed to complete successfully 10: INVALID command 11: Execution of the command was not completed correctly, due to a polling error The FDC executed a SEEK or RE-CALIBRATE command. The TK00# pin was not set after a RE-CALIBRATE command was issued. The current head address. Drive B selected. Drive A selected.
5 4 3 2 1 0
SE EC NU H DSB DSA
Seek End Equipment Check Not Used Head Address Drive B Select Drive A Select
53
IT8673F
Table 11-11. Status Register 1 (ST1) Bit
7
Symbol
EN
Name
End of Cylinder
Description
Indicates the FDC attempted to access a sector beyond the final sector of the track. This bit will be set if the Terminal Count (TC) signal is not issued after a READ DATA or WRITE DATA command. A CRC error occurred in either the ID field or the data field of a sector. An overrun on a READ operation or underrun on a WRITE operation occurs when the FDC is not serviced by the CPU or DMA within the required time interval. No data are available to the FDC when either of the following conditions is met: 1. The floppy disk cannot find the indicated sector while the READ DATA or READ DELETED DATA commands are executed, or 2. While executing a READ ID command, an error occurs upon reading the ID field, or 3. While executing a READ A TRACK command, the FDC cannot find the starting sector
6 5 4
NU DE OR
Not Used Data Error Overrun/ Underrun Not Used No Data
3 2
NU ND
1 0
NW MA
Not Writeable
Set when a WRITE DATA, WRITE DELETED DATA, or FORMAT A TRACK command is being executed on a write-protected diskette.
Missing Address This flag bit is set when either of the following conditions is met: Mark 1. The FDC cannot find a Data Address Mark or a Deleted Data Address Mark on the specified track, or 2. The FDC cannot find any ID address on the specified track after two index pulses are detected from the INDEX# pin
54
IT8673F
Table 11-12. Status Register 2 (ST2) Bit
7 6
Symbol
NU CM
Name
Not Used Control Mark -
Description
This flag bit is set when either of the following conditions is met: 1. The FDC finds a Deleted Data Address Mark during a READ DATA command, or 2. The FDC finds a Data Address Mark during a READ DELETED DATA command
5 4 3 2 1 0
DD WC SH SN BC MD
Data Error in Data Field Wrong Cylinder Scan Equal Hit Scan Not Satisfied Bad Cylinder Missing Data Address Mark
This flag bit is set when a CRC error is found in the data field. This flag bit is set when the track address in the ID field is different from the track address specified in the FDC. This flag bit is set when the condition of "equal" is satisfied during a SCAN command. This flag bit is set when the FDC cannot find a sector on the cylinder during a SCAN command. This flag bit is set when the track address equals "FFh" and is different from the track address in the FDC. This flag bit is set when a Data Address Mark or Deleted Data Address Mark cannot be found by the FDC.
Table 11-13. Status Register 3 (ST3) Bit
7 6 5 4 3 2 1-0
Symbol
FT WP RDY TK0 TS HD
Name
Fault Write Protect Ready Track 0 Two Side Head Address
Description
Indicates the current status of the Fault signal from the FDD. Indicates the current status of the Write Protect signal from the FDD. Indicates the current status of the Ready signal from the FDD. Indicates the current status of the Track 0 signal from the FDD. Indicates the current status of the Two Side signal from the FDD. Indicates the current status of the Head Select signal to the FDD. Indicate the current status of the Unit Select signals to the FDD.
US1, US0 Unit Select
55
IT8673F
11.4.10 Command Set The FDC utilizes a defined set of commands to communicate with the host. Each command is comprised of a unique first byte, which contains the op-code, and a series of additional bytes, which contain the required set of parameters and results. The op-code byte indicates to the FDC how many additional bytes should be expected for the command being written. The descriptions use a common set of parameter byte symbols, which are presented in Table 11-14. The FDC commands may be executed whenever the FDC is in the Command phase. The FDC checks to see that the first byte is a valid command and, if so, proceeds. An interrupt is issued if it is not a valid command. Table 11-14. Command Set Symbol Descriptions Symbol
C D DC3-DC0 DIR DR0, DR1 DTL
Name
Cylinder Number Data Drive Configuration Bit3-0 Direction Control Disk Drive Select Data Length
Description
The current/selected cylinder (track) number: 0 - 255. The data pattern to be written into a sector. Designate which drives are perpendicular drives on the PERPENDICULAR MODE command. Read/Write Head Step Direction Control. 0 = Step Out; 1 = Step In. The selected drive number: 0 or 1. When N is defined as 00h, DTL designates the number of data bytes which users are going to read out or write into the Sector. When N is not 00h, DTL is undefined. A "1" will disable the FIFO (default). A "0" will enable the FIFO. If EC=1, DTL of VERIFY command will be SC. If EIS=1, a SEEK operation will be performed before executing any READ or WRITE command that requires the C parameter. The final sector number on a cylinder. During a READ or WRITE operation, the FDC stops data transfer after the sector number is equal to EOT. By PERPENDICULAR MODE command, this parameter changes Gap 2 length in the format. The length of Gap 3. During a FORMAT command, it determines the size of Gap 3. The Head number 0 or 1, as specified in the sector ID field. (H = HD in all command words.) The selected Head number 0 or 1. Also controls the polarity of HDSEL#. (H = HD in all command words.) The Head Load Time in the FDD (2 to 254 ms in 2 ms increments). The Head Unload Time after a READ or WRITE operation has been executed (16 to 240 ms in 16 ms increments). If LOCK=1, DFIFO, FIFOTHR, and PRETRK parameters of the CONFIGURE command will not be affected by a software reset. If LOCK=0 (default), the above parameters will be set to their default values following a software reset.
DFIFO EC EIS EOT GAP2 GPL H HD HLT HUT LOCK
Disable FIFO Enable Count Enable Implied Seek End of Track Gap 2 Length Gap Length Head Address Head Head Load Time Head Unload Time
56
IT8673F
Table 11-14. Command Set Symbol Descriptions (cont'd) Symbol
MFM MT
Name
FM or MFM Mode Multi-Track
Description
If MFM is low, FM Mode (single density) is selected. If MFM is high, MFM Mode (double density) is selected. If MT is high, a Multi-Track operation is to be performed. In this mode, the FDC will automatically start searching for sector 1 on side 1 after finishing a READ/WRITE operation on the last sector on side 0. The number of data bytes written into a sector, where: 00 = 128 bytes (PC standard) 01 = 256 bytes 02 = 512 bytes ... 07 = 16 Kbytes
N
Number
NCN ND OW PCN POLLD PRETRK
New Cylinder Number Non-DMA Mode Overwrite Present Cylinder Number Polling Disable Precompensation Starting Track Number Record Relative Cylinder Number
A new cylinder number, which is to be reached as a result of the SEEK operation. Desired position of Head. When ND is high, the FDC operates in the Non-DMA Mode. If OW=1, DC3-0 of the PERPENDICULAR MODE command can be modified. Otherwise, those bits cannot be changed. The cylinder number at the completion of a SENSE INTERRUPT STATUS command. Position of Head at present time. If POLLD=1, the internal polling routine is disabled. Programmable from track 0 - 255.
R RCN SC SK
The sector number, which will be read or written. To determine the relative cylinder offset from present cylinder as used by the RELATIVE SEEK command. The number of sectors per cylinder.
Skip
If SK=1, the Read Data operation will skip sectors with a Deleted Data Address Mark. Or, the Read Deleted Data operation only accesses sectors with a Deleted Data Address Mark. The Stepping Rate for the FDD (1 to 16 ms in 1 ms increments). Stepping Rate applies to all drives (F=1 ms, E=2 ms, etc.). ST0-3 stand for one of four registers that store the status information after a command has been executed. This information is available during the Result phase after command execution. These registers should not be confused with the Main Status Register (selected by A0 = 0); ST0-3 may be read only after a command has been executed and contain information associated with that particular command. If STP = 1 during a SCAN operation, the data in contiguous sectors are compared byte by byte with data sent from the processor (or DMA). If STP = 2, alternate sectors are read and compared.
SRT ST0 ST1 ST2 ST3
Step Rate Time Status 0 Status 1 Status 2 Status 3
STP
57
IT8673F
Table 11-15. Command Set Summary READ DATA
Phase
Command
R/W
W W W W W W W W W
Data Bus D7
MT 0
D6
MFM 0
D5
SK 0
D4
0 0 C H R N EOT GPL DTL
D3
0 0
D2
1 HDS
D1
1 DR1
D0
0 DR0
Remarks
Command Codes Sector ID information before the command execution
Execution Result R R R R R R R ST0 ST1 ST2 C H R N
Data transfer between the FDD and the main system Status information after command execution
Sector ID information after command execution
READ DELETED DATA
Phase
Command
R/W
W W W W W W W W W
Data Bus D7
MT 0
D6
MFM 0
D5
SK 0
D4
0 0 C H R N EOT GPL DTL
D3
1 0
D2
1 HDS
D1
0 DR1
D0
0 DR0
Remarks
Command Codes Sector ID information before the command execution
Execution Result R R R R R R R ST0 ST1 ST2 C H R N
Data transfer between the FDD and the main system Status information after command execution
Sector ID information after command execution
58
IT8673F
READ A TRACK
Phase
Command
R/W
W W W W W W W W W
Data Bus D7
MT 0
D6
MFM 0
D5
0 0
D4
0 0 C H R N EOT GPL DTL
D3
0 0
D2
0 HDS
D1
1 DR1
D0
0 DR0
Remarks
Command Codes Sector ID information before the command execution
Execution
Data transfer between the FDD and main system cylinder's contents from index hole to EOT R R R R R R R ST0 ST1 ST2 C H R N Sector ID information after command execution Sector ID information before the command execution
Result
WRITE DATA
Phase
Command
R/W
W W W W W W W W W
Data Bus D7
MT 0
D6
MFM 0
D5
0 0
D4
0 0 C H R N EOT GPL DTL
D3
0 0
D2
1 HDS
D1
0 DR1
D0
1 DR0
Remarks
Command Codes Sector ID information before the command execution
Execution Result R R R R R R R ST0 ST1 ST2 C H R N
Data transfer between the FDD and the main system Status information after command execution
Sector ID information after command execution
59
IT8673F
WRITE DELETED DATA
Phase
Command
R/W
W W W W W W W W W
Data Bus D7
MT 0
D6
MFM 0
D5
0 0
D4
0 0 C H R N EOT GPL DTL
D3
1 0
D2
0 HDS
D1
0 DR1
D0
1 DR0
Remarks
Command Codes Sector ID information before the command execution
Execution Result R R R R R R R ST0 ST1 ST2 C H R N
Data transfer between the FDD and the main system. Status information after command execution
Sector ID information after command execution
FORMAT A TRACK
Phase
Command
R/W
W W W W W W
Data Bus D7
0 0
D6
MFM 0
D5
0 0
D4
0 0 N SC GPL D C H R N ST0 ST1 ST2
D3
1 0
D2
1 HDS
D1
0 DR1
D0
1 DR0
Remarks
Command Codes Bytes/Sector Sectors/Cylinder Gap 3 Filler Byte Input Sector Parameters per-sector
Execution
W W W W R R R R R R R
Result
FDC formats an entire cylinder Status information after command execution
Undefined Undefined Undefined Undefined
60
IT8673F
SCAN EQUAL
Phase
Command
R/W
W W W W W W W W W
Data Bus D7
MT 0
D6
MFM 0
D5
SK 0
D4
1 0 C H R N EOT GPL STP
D3
0 0
D2
0 HDS
D1
0 DR1
D0
1 DR0
Remarks
Command Codes Sector ID information before the command execution
Execution
Data transferred from the system to controller is compared to data read from disk R R R R R R R ST0 ST1 ST2 C H R N Sector ID information after command execution Status information after command execution
Result
SCAN LOW OR EQUAL
Phase
Command
R/W
W W W W W W W W W
Data Bus D7
MT 0
D6
MFM 0
D5
SK 0
D4
1 0 C H R N EOT GPL STP
D3
1 0
D2
0 HDS
D1
0 DR1
D0
1 DR0
Remarks
Command Codes Sector ID information before the command execution
Execution
Data transferred from the system to controller is compared to data read from disk R R R R R R R ST0 ST1 ST2 C H R N Sector ID information after command execution Status information after command execution
Result
61
IT8673F
SCAN HIGH OR EQUAL
Phase
Command
R/W
W W W W W W W W W
Data Bus D7
MT 0
D6
MFM 0
D5
SK 0
D4
1 0 C H R N EOT GPL STP
D3
1 0
D2
1 HDS
D1
0 DR1
D0
1 DR0
Remarks
Command Codes Sector ID information before the command execution
Execution
Data transferred from the system to controller is compared to data read from disk R R R R R R R ST0 ST1 ST2 C H R N Sector ID information after command execution Status information after command execution
Result
VERIFY
Phase
Command
R/W
W W W W W W W W W
Data Bus D7
MT EC
D6
MFM 0
D5
SK 0
D4
1 0 C H R N EOT GPL
D3
0 0
D2
1 HDS
D1
1 DR1
D0
0 DR0
Remarks
Command Codes Sector ID information before the command execution
DTL/SC No data transfer takes place
Execution Result R R R R R R R ST0 ST1 ST2 C H R N
Status information after command execution
Sector ID information after command execution
62
IT8673F
READ ID
Phase
Command
R/W
W W
Data Bus D7
0 0
D6
MFM 0
D5
0 0
D4
0 0
D3
1 0
D2
0 HDS
D1
1 DR1
D0
0 DR0
Remarks
Command Codes
Execution
The first correct ID information on the Cylinder is stored in the Data Register R R R R R R R ST0 ST1 ST2 C H R N Sector ID information during execution phase Status information after command execution
Result
CONFIGURE
Phase
Command
R/W
W W W
Data Bus D7
0 0 0
D6
0 0 EIS
D5
0 0 DFIFO
D4
1 0 POLLD
D3
0 0
D2
0 0
D1
1 0
D0
1 0
Remarks
Configure Information
FIFOTHR
PRETRK Execution
RE-CALIBRATE
Phase
Command Execution
R/W
W W
Data Bus D7
0 0
D6
0 0
D5
0 0
D4
0 0
D3
0 0
D2
1 0
D1
1 DR1
D0
1 DR0
Remarks
Command Codes Head retracted to Track 0
SEEK
Phase
Command
R/W
W W W
Data Bus D7
0 0
D6
0 0
D5
0 0
D4
0 0 NCN
D3
1 0
D2
1 HDS
D1
1 DR1
D0
1 DR0
Remarks
Command Codes
Execution
Head is positioned over proper cylinder on diskette
63
IT8673F
RELATIVE SEEK
Phase
Command
R/W
W W W
Data Bus D7
1 0
D6
DIR 0
D5
0 0
D4
0 0 RCN
D3
1 0
D2
1 HDS
D1
1 DR1
D0
1 DR0
Remarks
Command Codes
Execution
Head is stepped in or out a programmable number of tracks
DUMPREG
Phase
Command Execution Result R R R R R R R R R R LOCK 0 0 DIS DC3 DFIFO SRT HLT DC2 DC1 POLLD PRETRK DC0 GAP FIFOTHR PCN-Drive 0 PCN-Drive 1 PCN-Drive 2 PCN-Drive 3 HUT ND WG
R/W
W
Data Bus D7
0
D6
0
D5
0
D4
0
D3
1
D2
1
D1
1
D0
0
Remarks
Command Codes Registers placed in FIFO
LOCK
Phase
Command Result
R/W
W R
Data Bus D7
LOCK 0
D6
0 0
D5
0 0
D4
1 LOCK
D3
0 0
D2
1 0
D1
0 0
D0
0 0
Remarks
Command Codes
VERSION
Phase
Command Result
R/W
W R
Data Bus D7
0 1
D6
0 0
D5
0 0
D4
1 1
D3
0 0
D2
0 0
D1
0 0
D0
0 0
Remarks
Command Codes Enhanced Controller
SENSE INTERRUPT STATUS
Phase
Command Result
R/W
W R R
Data Bus D7
0
D6
0
D5
0
D4
0 ST0 PCN
D3
1
D2
0
D1
0
D0
0
Remarks
Command Codes Status information at the end of each SEEK operation
64
IT8673F
SENSE DRIVE STATUS
Phase
Command
R/W
W W R
Data Bus D7
0 0
D6
0 0
D5
0 0
D4
0 0 ST3
D3
0 0
D2
1 HDS
D1
0 DR1
D0
0 DR0
Remarks
Command Codes
Result
Status information about FDD
SPECIFY
Phase
Command
R/W
W W W
Data Bus D7
0
D6
0 SRT
D5
0
D4
0
D3
0
D2
0 HUT
D1
1
D0
1
Remarks
Command Codes
HLT
ND
PERPENDICULAR MODE
Phase
Command
R/W
W W
Data Bus D7
0 OW
D6
0 0
D5
0 DC3
D4
1 DC2
D3
0 DC1
D2
0 DC0
D1
1 GAP
D0
0 WG
Remarks
Command Codes
INVALID
Phase
Command
R/W
W
Data Bus D7 D6 D5 D4 D3 D2 D1 D0
Invalid codes
Remarks
INVALID Command Codes (NO-OP: FDC goes into standby state) ST0 = 80h
Result
R
ST0
65
IT8673F
11.4.11 Data Transfer Commands All data transfer commands utilize the same parameter bytes (except for FORMAT A TRACK command) and return the same result data bytes. The only difference between them is the five bits (0-4) of the first byte. 11.4.11.1 READ DATA
The READ DATA command contains nine command bytes that place the FDC into the Read Data mode. Each READ operation is initialized by a READ DATA command. The FDC locates the sector to be read by matching ID Address Marks and ID fields from the command with the information on the diskette. The FDC then transfers the data to the FIFO. When the data from the given sector has been read, the READ DATA command is completed and the sector address is automatically incremented by "1". The data from the next sector is read and transferred to the FIFO in the same manner. Such a continuous Read function is called a "Multi-Sector Read Operation". If a TC or an implied TC (FIFO overrun/underrun) is received, the FDC stops sending data, but continues to read data from the current sector and checks the CRC bytes until the end of the sector is reached and the READ operation is completed. The sector size is determined by the N parameter value as calculated in the equation below: Sector Size = 2
(7+N value)
bytes.
The DTL parameter determines the number of bytes to be transferred. Therefore, if N = 00h, setting the sector size to 128 and the DTL parameter value is less than this, the remaining bytes will be read and checked for CRC errors by the FDC. If this occurs in a WRITE operation, the remaining bytes will be filled with 0. If the sector size is not 128 (N > 00h), DTL should be set to FFh. In addition to performing Multi-Sector Read operations, the FDC can perform Multi-Track Read operations. When the MT parameter is set, the FDC can read both sides of a disk automatically. The combination of N and MT parameter values determines the amount of data that can be transferred during either type of READ operation. Table 11-16 shows the maximum data transfer capacity and the final sector the FDC reads based on these parameters. Table 11-16. Effects of MT and N Bits
MT 0 1 0 1 0 1 N 1 1 2 2 3 3 Maximum Transfer Capacity 256 X 26 = 6656 256 X 52 = 13312 512 X 15 = 7680 512 X 30 = 15360 1024 X 8 = 8192 1024 X16 =16384 Final Sector Read from Disk 26 on side 0 or side 1 26 on side 1 15 on side 0 or side 1 15 on side 1 8 on side 0 or side 1 16 on side 1
66
IT8673F
11.4.11.2 READ DELETED DATA
The READ DELETED DATA command is the same as the READ DATA command, except that a Deleted Data Address Mark (as opposed to a Data Address Mark) is read at the beginning of the Data Field. This command is typically used to mark a bad sector on a diskette. 11.4.11.3 READ A TRACK
After receiving a pulse from the INDEX# pin, the READ A TRACK command reads the entire data field from each sector of the track as a continuous block. If any ID or Data Field CRC error is found, the FDC continues to read data from the track and indicates the error at the end. Because the Multi-Track [and Skip] operation[s] is[are] not allowed under this command, the MT and SK bits should be low (0) during the command execution. This command terminates normally when the number of sectors specified by EOT has not been read. If, however, no ID Address Mark has been found by the second occurrence of the INDEX pulse, the FDC will set the IC code in the ST0 to 01, indicating an abnormal termination, and then finish the command. 11.4.11.4 WRITE DATA
The WRITE DATA command contains nine command bytes that place the FDC into the Write Data mode. Each WRITE operation is initialized by a WRITE DATA command. The FDC locates the sector to be written by reading ID fields and matching the sector address from the command with the information on the diskette. Then the FDC reads the data from the host via the FIFO and writes the data into the sector's data field. Finally, the FDC computes the CRC value, storing it in the CRC field, and increments the sector number (stored in the R parameter) by "1". The next data field is written into the next sector in the same manner. Such a continuous write function is called a "Multi-Sector Write Operation". If a TC or an implied TC (FIFO overrun/underrun) is received, the FDC stops writing data and fills the remaining data field with 0s. If a check of the CRC value indicates an error in the sector ID Field, the FDC will set the IC code in the ST0 to 01 and the DE bit in the ST1 to 1, indicating an abnormal termination, and then terminate the WRITE DATA command. The maximum data transfer capacity and the DTL, N, and MT parameters are the same as in the READ DATA command. 11.4.11.5 WRITE DELETED DATA
The WRITE DELETED DATA command is the same as the WRITE DATA command, except that a Deleted Data Address Mark (instead of a Data Address Mark) is written at the beginning of the Data Field. This command is typically used to mark a bad sector on a diskette. 11.4.11.6 FORMAT A TRACK
The FORMAT A TRACK command is used to format an entire track. Initialized by an INDEX pulse, it writes data to the Gaps, Address Marks, ID fields and Data fields according to the density mode selected (FM or MFM). The Gap and Data field values are controlled by the host-specified values programmed into N, SC, GPL, and D during the Command phase. The Data field is filled with the data byte specified by D. The four data bytes per sector (C, H, R, and N) needed to fill the ID field are supplied by the host. The C, R, H, and N values must be renewed for each new sector of a track. Only the R parameter value must be changed when a sector is formatted, allowing the disk to be formatted with non-sequential sector addresses. These steps are repeated until a new INDEX pulse is received, at which point the FORMAT A TRACK command is terminated. 67
IT8673F
11.4.11.7 SCAN
The SCAN command allows the data read from the disk to be compared with the data sent from the system. There are three SCAN commands: SCAN EQUAL Disk Data = System Data SCAN HIGH OR EQUAL Disk Data System Data SCAN LOW OR EQUAL Disk Data System Data The SCAN command execution continues until the scan condition has been met, or the EOT has been reached, or if TC is asserted. Read errors on the disk have the same error condition as the READ DATA command. If the SK bit is set, sectors with deleted data address marks are ignored. If all sectors read are skipped, the command terminates with the D3 bit of the ST2 being set. The Result phase of the command is shown below: Table 11-17. SCAN Command Result Command
SCAN EQUAL
Status Register
D2 0 1 D3 1 0 1 0 0 1 0 0
Condition
Disk = System Disk System Disk = System Disk > System Disk < System Disk = System Disk < System Disk > System
SCAN HIGH OR EQUAL
0 0 1
SCAN LOW OR EQUAL
0 0 1
11.4.11.8
VERIFY
The VERIFY command is used to read logical sectors containing a Normal Data AM from the selected drive without transferring the data to the host. This command acts like a READ DATA command except that no data is transferred to the host. This command is designed for post-format or post write verification. Data is read from the disk, as the controller checks for valid Address Marks in the Address and Data Fields. The CRC is computed and checked against the previously stored value. Because no data is transferred to the host, the TC (Terminal Count of DMA) cannot be used to terminate this command. An implicit TC will be issued to the FDC by setting the EC bit. This implicit TC will occur when the SC value has decremented to 0. This command can also be terminated by clearing the EC bit and when the EOT value equals to the final sector to be checked.
68
IT8673F
Table 11-18. VERIFY Command Result MT 0 0 0 EC 0 0 1 SC/EOT SC = DTL EOT # Sectors per side SC = DTL EOT > # Sectors per side SC # Sectors Remaining AND EOT # Sectors per side SC > # Sectors Remaining OR EOT > # Sectors per side SC = DTL EOT > # Sectors per side SC = DTL EOT > # Sectors per side SC # Sectors Remaining AND EOT # Sectors per side SC > # Sectors Remaining OR EOT > # Sectors per side Termination Result No Error Abnormal Termination No Error
0
1
Abnormal Termination
1 1 1
0 0 1
No Error Abnormal Termination No Error
1
1
Abnormal Termination
11.4.12
Control Commands
The control commands do not transfer any data. Instead, these commands are used to monitor and manage the data transfer. Three of the Control commands generate an interrupt when finished READ ID, RE-CALIBRATE and SEEK. It is strongly recommended that a SENSE INTERRUPT STATUS command be issued after these commands to capture their valuable interrupt information. The RE-CALIBRATE, SEEK, and SPECIFY commands do not return any result bytes. 11.4.12.1 READ ID
The READ ID command is used to find the actual recording head position. It stores the first readable ID field value into the FDC registers. If the FDC cannot find an ID Address Mark by the time a second INDEX pulse is received, an abnormal termination will be generated by setting the IC code in the ST0 to 01. 11.4.12.2 CONFIGURE
The CONFIGURE command determines some special operation modes of the controller. It needs not to be issued if the default values of the controller meet the system requirements. EIS: Enable Implied Seeks. A SEEK operation is performed before a READ, WRITE, SCAN, or VERIFY commands. 0 = Disabled (default). 1 = Enabled. DFIFO: Disable FIFO. 0 = Enabled. 1 = Disabled (default). POLLD: Disable polling of the drives. 69
IT8673F
0 = Enabled (default). When enabled, a single interrupt is generated after a reset. 1 = Disabled. FIFOTHR: The FIFO threshold in the execution phase of data transfer commands. They are programmable from 00 to 0F hex (1 bytes to 16 bytes). Defaults to one byte. PRETRK: The Pre-compensation Start Track Number. They are programmable from track 0 to FF hex (track 0 to track 255). Defaults to track 0. 11.4.12.3 RE-CALIBRATE
The RE-CALIBRATE command retracts the FDC read/write head to the track 0 position, resetting the value of the PCN counter and checking the TK00# status. If TK00# is low, the DIR# pin remains low and step pulses are issued. If TK00# is high, SE [and EC bits] of ST0 are set high, and the command is terminated. When TK00# remains low for 79 step pulses, the RE-CALIBRATE command is terminated by setting SE and EC bits of ST0 high. Consequently, for disks that can accommodate more than 80 tracks, more than one RE-CALIBRATE command is required to retract the head to the physical track 0. The FDC is in a non-busy state during the Execution phase of this command, making it possible to issue another RE-CALIBRATE command in parallel with the current command. On power-up, software must issue a RE-CALIBRATE command to properly initialize the FDC and the drives attached. 11.4.12.4 SEEK
The SEEK command controls movement of the FDC read/write head movement from one track to another. The FDC compares the current head position, stored in PCN, with NCN values after each step pulse to determine what direction to move the head, if required. The direction of movement is determined below: PCN < NCN Step In: Sets DIR# signal to 1 and issues step pulses, PCN > NCN Step Out: Sets DIR# signal to 0 and issues step pulses, and PCN = NCN Terminate the command by setting the ST0 SE bit to 1. The impulse rate of step pulse is controlled by Stepping Rate Time (SRT) bit in the SPECIFY command. The FDC is in a non-busy state during the Execution phase of this command, making it possible to issue another SEEK command in parallel with the current command. 11.4.12.5 RELATIVE SEEK
The RELATIVE SEEK command steps the selected drive in or out in a given number of steps. The DIR bit is used to determine to step in or out. RCN (Relative Cylinder Number) is used to determine how many tracks to step the head in or out from the current track. After the step operation is completed, the controller generates an interrupt, but the command has no Result phase. No other command except the SENSE INTERRUPT STATUS command should be issued while a RELATIVE SEEK command is in progress. 11.4.12.6 DUMPREG
The DUMPREG command is designed for system run-time diagnostics, and application software development, and debug. This command has one byte of Command phase and 10 bytes of Result phase, which return the values of parameters set in other commands.
70
IT8673F
11.4.12.7 LOCK
The LOCK command allows the programmer to fully control the FIFO parameters after a hardware reset. If the LOCK bit is set to 1, the parameters DFIFO, FIFOTHR, and PRETRK in the CONFIGURE command are not affected by a software reset. If the bit is set to 0, those parameters are set to default values after a software reset. 11.4.12.8 VERSION
The VERSION command is used to determine the controller being used. In Result phase, a value of 90 hex is returned in order to be compatible with the 82077. 11.4.12.9 SENSE INTERRUPT STATUS
The SENSE INTERRUPT STATUS command resets the interrupt signal (IRQ) generated by the FDC, and identifies the cause of the interrupt via the IC code and SE bit of the ST0, as shown in Table 11-19. It may be necessary to generate an interrupt when any of the following conditions occur: 1. Before any Data Transfer or READ ID command 2. After SEEK or RE-CALIBRATE commands (no result phase exists) 3. When a data transfer is required during an Execution phase in the non-DMA mode Table 11-19. Interrupt Identification
SE 0 1 1 IC Code 11 00 01 Polling. Normal termination of SEEK or RE-CALIBRATE command. Abnormal termination of SEEK or RE-CALIBRATE command. Cause of Interrupt
11.4.12.10 SENSE DRIVE STATUS The SENSE DRIVE STATUS command acquires drive status information. It has no Execution phase. 11.4.12.11 SPECIFY The SPECIFY command sets the initial values for the HUT (Head Unload Time), HLT (Head Load Time), SRT (Step Rate Time), and ND (Non-DMA mode) parameters. The possible values for HUT, SRT, and HLT are shown in Table 11-20, Table 11-21 and Table 11-22 respectively. The FDC is operated in DMA or non-DMA mode based on the value specified by the ND parameters. Table 11-20. HUT Values Parameter 0 1 ... E F 1 Mbps 128 8 ... 112 120 500 Kbps 256 16 ... 224 240 71 300 Kbps 426 26.7 ... 373 400 250 Kbps 512 32 ... 448 480
IT8673F
Table 11-21. SRT Values Parameter 0 1 ... E F 1 Mbps 8 7.5 ... 1 0.5 500 Kbps 16 15 ... 2 1 300 Kbps 26.7 25 ... 3.33 1.67 250 Kbps 32 30 ... 4 2
Table 11-22. HLT Values Parameter 00 01 02 ... 7E 7F 1 Mbps 128 1 2 ... 126 127 500 Kbps 256 2 4 ... 252 254 300 Kbps 426 3.33 6.7 ... 420 423 250 Kbps 512 4 8 ... 504 508
11.4.12.12 PERPENDICULAR MODE The PERPENDICULAR MODE command is used to support the unique READ/WRITE/FORMAT commands of Perpendicular Recording disk drives (4 Mbytes unformatted capacity). This command configures each of the four logical drives as a perpendicular or conventional disk drive via the DC3-DC0 bits, or with the GAP and WG control bits. Perpendicular Recording drives operate in "Extra High Density" mode at 1Mbps, and are downward compatible with 1.44 Mbyte and 720 kbyte drives at 500 Kbps (High Density) and 250 Kbps (Double Density) respectively. This command should be issued during the initialization of the floppy disk controller. Then, when a drive is accessed for a FORMAT A TRACK or WRITE DATA command, the controller adjusts the format or Write Data parameters based on the data rate. If WG and GAP are used (not set to 00), the operation of the FDC is based on the values of GAP and WG. If WG and GAP are set to 00, setting DCn to 1 will set drive n to Perpendicular mode. DC3-DC0 are unaffected by a software reset, but WG and GAP are both cleared to 0 after a software reset. Table 11-23. Effects of GAP and WG on FORMAT A TRACK and WRITE DATA Commands GAP 0 0 1 1 WG 0 1 0 1 Mode Conventional Perpendicular (500 Kbps) Reserved (Conventional) Perpendicular (1 Mbps) Length of GAP2 FORMAT FIELD 22 bytes 22 bytes 22 bytes 41 bytes Portion of GAP2 Re-Written by WRITE DATA Command 0 bytes 19 bytes 0 bytes 38 bytes
72
IT8673F
Table 11-24. Effects of Drive Mode and Data Rate on FORMAT A TRACK and WRITE DATA Commands Data Rate 250/300/500 Kbps 1 Mbps Drive Mode Conventional Perpendicular Conventional Perpendicular Length of GAP2 FORMAT FIELD 22 bytes 22 bytes 22 bytes 41 bytes Portion of GAP2 Re-Written by WRITE DATA Command 0 bytes 19 bytes 0 bytes 38 bytes
11.4.12.13 INVALID The INVALID command indicates when an undefined command has been sent to FDC. The FDC will set the bit 6 and the bit 7 in the Main Status Register to 1 and terminate the command without issuing an interrupt. 11.4.13 DMA Transfers
DMA transfers are enabled by the SPECIFY command and are initiated by the FDC by activating the DRQ cycle during a DATA TRANSFER command. The FIFO is enabled directly by asserting the DMA cycles. 11.4.14 Low Power Mode
When writing a 1 to the bit 6 of the DSR, the controller is set to low power mode immediately. All the clock sources including Data Separator, Microcontroller, and Write precompensation unit will be gated. The FDC can be resumed from the low-power state in two ways. One is a software reset via the DOR or DSR; and the other is a read or write to either the Data Register or Main Status Register. The second method is more preferred since all internal register values are retained.
73
IT8673F
11.5 Serial Port (UART) Description The IT8673F incorporates two enhanced serial ports that perform serial to parallel conversion on received data, and parallel to serial conversion on transmitted data. Each of the serial channels individually contains a programmable baud rate generator which is capable of dividing the input clock by a number ranging from 1 to 65535. The data rate of each serial port can also be programmed from 115.2K baud down to 50 baud. The character options are programmable for 1 start bit; 1, 1.5 or 2 stop bits; even, odd, stick or no parity; and privileged interrupts. Table 11-25. Serial Channel Registers Register
Data
DLAB*
0 0 x x x 1 1 x x x
Address
Base + 0h Base + 1h Base + 2h Base + 3h Base + 4h Base + 0h Base + 1h Base + 5h Base + 6h Base + 7h
READ
RBR (Receiver Buffer Register) IER (Interrupt Enable Register) IIR (Interrupt Identification Register) LCR (Line Control Register) MCR (Modem Control Register) DLL (Divisor Latch LSB) DLM (Divisor Latch MSB) LSR (Line Status Register) MSR (Modem Status Register) SCR (Scratch Pad Register)
WRITE
TBR (Transmitter Buffer Register) IER FCR (FIFO Control Register) LCR MCR DLL DLM LSR MSR SCR
Control
Status
* DLAB is bit 7 of the Line Control Register.
11.5.1 Data Registers The TBR and RBR individually hold from five to eight data bits. If the transmitted data is less than eight bits, it aligns to the LSB. Either received or transmitted data is buffered by a shift register, and is latched first by a holding register. The bit 0 of any word is first received and transmitted. (1) Receiver Buffer Register (RBR) (Read only, Address offset=0, DLAB=0) This register receives and holds the incoming data. It contains a non-accessible shift register which converts the incoming serial data stream into a parallel 8-bit word. (2) Transmitter Buffer Register (TBR) (Write only, Address offset=0, DLAB=0) This register holds and transmits the data via a non-accessible shift register, and converts the outgoing parallel data into a serial stream before transmission. 11.5.2 Control Registers: IER, IIR, FCR, DLL, DLM, LCR and MCR (1) Interrupt Enable Register (IER) (Read/Write, Address offset=1, DLAB=0) The IER is used to enable (or disable) four active high interrupts which activate the interrupt outputs with its lower four bits: IER(0), IER(1), IER(2), and IER(3).
74
IT8673F
Table 11-26. Interrupt Enable Register Description Bit 7-4 3 Default 0 Reserved Enable MODEM Status Interrupt Sets this bit high to enable the Modem Status Interrupt when one of the Modem Status Registers changes its bit status. Enable Receiver Line Status Interrupt Sets this bit high to enable the Receiver Line Status Interrupt which is caused when Overrun, Parity, Framing or Break occurs. Enable Transmitter Holding Register Empty Interrupt Sets this bit high to enable the Transmitter Holding Register Empty Interrupt. Enable Received Data Available Interrupt Sets this bit high to enable the Received Data Available Interrupt and Time-out interrupt in the FIFO mode. Description
2
0
1 0
0 0
(2) Interrupt Identification Register (IIR) (Read only, Address offset=2) This register facilitates the host CPU to determine interrupt priority and its source. The priority of four existing interrupt levels is listed below: 1. Received Line Status (highest priority) 2. Received Data Ready 3. Transmitter Holding Register Empty 4. Modem Status (lowest priority) When a privileged interrupt is pending and the type of interrupt is stored in the IIR which is accessed by the Host, the serial channel holds back all interrupts and indicates the pending interrupts with the highest priority to the Host. Any new interrupts will not be acknowledged until the Host access is completed. The contents of the IIR are described in the table on the next page:
75
IT8673F
Table 11-27. Interrupt Identification Register FIFO Mode
Bit 3 0 0 0
Interrupt Identification Register
Bit 2 X 1 1 Bit 1 X 1 0 Bit 0 1 0 0 Priority Level First Second
Interrupt Set and Reset Functions
Interrupt Type None Receiver Line Status Received Data Available Character Time-out Indication Interrupt Source None OE, PE, FE, or BI Received Data Available Read LSR Read RBR or FIFO drops below the trigger level Interrupt Reset Control -
1
1
0
0
Second
Read RBR No characters have been removed from or input to the RCVR FIFO during the last 4 character times and there is at least 1 character in it during this time Transmitter Holding Register Empty Read IIR if THRE is the Interrupt Source Write THR
0
0
1
0
Third
Transmitter Holding Register Empty
0
0
0
0
Fourth
Modem Status
CTS#, DSR#, RI#, DCD#
Read MSR
Note: X = Not defined
IIR(7), IIR(6): Are set when FCR(0) = 1. IIR(5), IIR(4): Always logic 0. IIR(3): In non-FIFO mode, this bit is a logic 0. In the FIFO mode, this bit is set along with bit 2 when a time-out interrupt is pending. IIR(2), IIR(1): Used to identify the highest priority interrupt pending. IIR(0): Used to indicate a pending interrupt in either a hard-wired prioritized or polled FAN with a logic 0 state. In such a case, IIR contents may be used as a pointer to the appropriate interrupt service routine.
76
IT8673F
(3) FIFO Control Register (FCR) (Write Only, Address offset=2) This register is used to enable/clear the FIFO, and set the RCVR FIFO trigger level. Table 11-28. FIFO Control Register Description Bit 7-6 5-4 3 2 Default 0 0 0 Description Receiver Trigger Level Select These bits set the trigger levels for the RCVR FIFO interrupt. Reserved This bit doesn't affect the Serial Channel operation. RXRDY and TXRDY functions are not available on this chip. Transmitter FIFO Reset This self-clearing bit clears all contents of the XMIT FIFO and resets its related counter to 0 via a logic "1." Receiver FIFO Reset Setting this self-clearing bit to a logic "1" clears all contents of the RCVR FIFO and resets its related counter to 0 (except the shift register). FIFO Enable XMIT and RCVR FIFO are enabled when this bit is set high. XMIT and RCVR FIFOs are disabled and cleared respectively when this bit is cleared to low. This bit must be a logic 1 if the other bits of the FCR are written to, or they will not be properly programmed. When this register is switched to non-FIFO mode, all its contents are cleared.
1
0
0
0
Table 11-29. Receiver FIFO Trigger Level Encoding FCR (7)
0 0 1 1
FCR (6)
0 1 0 1
RCVR FIFO Trigger Level
1 byte 4 bytes 8 bytes 14 bytes
(4) Divisor Latches (DLL, DLM) (Read/Write, Address offset=0,1, DLAB=0) Two 8-bit Divisor Latches (DLL and DLM) store the divisor values in a 16-bit binary format. They are loaded during the initialization to generate a desired baud rate. (5) Baud Rate Generator (BRG) Each serial channel contains a programmable BRG which can take any clock input (from DC to 3 MHz) to generate standard ANSI/CCITT bit rates for the channel clocking with an external clock oscillator. The DLL or DLM is a number of 16-bit format, providing the divisor range from 1 to 2 to obtain the desired baud rate. The output frequency is 16X data rate.
16
77
IT8673F
Table 11-30. Baud Rates Using (24 MHz / 13) Clock Desired Baud Rate
50 75 110 134.5 150 300 600 1200 1800 2000 2400 3600 4800 7200 9600 19200 38400 57600 115200
Divisor Used
2304 1536 1047 857 768 384 192 96 64 58 48 32 24 16 12 6 3 2 1
(6) Scratch Pad Register (Read/Write, Address offset=7) This 8-bit register does not control the UART operation in any way. It is intended as a scratch pad register to be used by programmers to temporarily hold general purpose data. (7) Line Control Register (LCR) (Read/Write, Address offset=3) LCR controls the format of the data character and supplies the information of the serial line. Its contents are described on the next page:
78
IT8673F
Table 11-31. Line Control Register Description Bit 7 Default 0 Description Divisor Latch Access Bit (DLAB) Must be set to high to access the Divisor Latches of the baud rate generator during READ or WRITE operations. It must be set low to access the Data Register (RBR and TBR) or the Interrupt Enable Register. Set Break Forces the Serial Output (SOUT) to the spacing state (logic 0) by a logic 1, and this state will be preserved until a low level resetting LCR(6), enabling the serial port to alert the terminal in a communication system. Stick Parity When this bit and LCR(3) are high at the same time, the parity bit is transmitted, and then detected by receiver, in opposite state by LCR(4) to force the parity bit into a known state and to check the parity bit in a known state. Even Parity Select When parity is enabled (LCR(3) = 1), LCR(4) = 0 selects odd parity, and LCR(4) = 1 selects even parity. Parity Enable A parity bit, located between the last data word bit and stop bit, will be generated or checked (transmit or receive data) when LCR(3) is high. Number of Stop Bits Specifies the number of stop bits in each serial character, as summarized in table 11-32. Word Length Select [1:0] 11: 8 bits 10: 7 bits 01: 6 bits 00: 5 bits Table 11-32. Stop Bits Number Encoding LCR (2) Word Length No. of Stop Bits
0 1 1 1 1 5 bits 6 bits 7 bits 8 bits 1 1.5 2 2 2
6
0
5
0
4
0
3
0
2
0
1-0
00
Note: The receiver will ignore all stop bits beyond the first, regardless of the number used in transmission.
79
IT8673F
(8) MODEM Control Register (MCR) (Read/Write, Address offset=4) Controls the interface by the modem or data set (or device emulating a modem). Table 11-33. Modem Control Register Description Bit 7-5 4 Default 0 Reserved Internal Loop Back Provides a loopback feature for diagnostic test of the serial channel when it is set high. Serial Output (SOUT) is set to the Marking State Shift Register output loops back into the Receiver Shift Register. All Modem Control inputs (CTS#, DSR#, RI# and DCD#) are disconnected. The four Modem Control outputs (DTR#, RTS#, OUT1 and OUT2) are internally connected to the four Modem Control inputs and forced to inactive high. The transmitted data are then immediately received, allowing the processor to verify the transmit and receive data path of the serial channel. OUT2 This bit is the Output 2 bit and enables the serial port interrupt output by a logic 1. Out1 This bit does not have an output pin and can only be read or written by the CPU. Request to Send (RTS) Controls the Request to Send (RTS#) which is in an inverse logic state with MCR(1). Data Terminal Ready (DTR) Controls the Data Terminal ready (DTR#) which is in an inverse logic state with the MCR(0). Description
3 2
0 0
1
0
0
0
80
IT8673F
11.5.3 Status Registers: LSR and MSR (1) Line Status Register (LSR) (Read/Write, Address offset=5) This register provides status indications and is usually the first register read by the CPU to determine the cause of an interrupt or to poll the status of each serial channel. The contents of the LSR are described below: Table 11-34. Line Status Register Description Bit 7 Default 0 Description Error in Receiver FIFO In 16450 mode, this bit is always 0. In the FIFO mode, it sets high when there is at least one parity error, framing or break interrupt in the FIFO. This bit is cleared when the CPU reads the LSR, if there are no subsequent errors in the FIFO. Transmitter Empty This read only bit indicates that the Transmitter Holding Register and Transmitter Shift Register are both empty. Otherwise, this bit is "0," and has the same function in the FIFO mode. Transmitter Holding Register Empty Transmitter Holding Register Empty (THRE). This read only bit indicates that the TBR is empty and is ready to accept a new character for transmission. It is set high when a character is transferred from the THR into the Transmitter Shift Register, causing a priority 3 IIR interrupt which is cleared by a read of IIR. In the FIFO mode, it is set when the XMIT FIFO is empty and is cleared when at least one byte is written to the XMIT FIFO. Line Break Break Interrupt (BI) status bit indicates that the last character received was a break character, (invalid but entire character), including parity and stop bits. This occurs when the received data input is held in the spacing (logic 0) for longer than a full word transmission time (start bit + data bits + parity + stop bit). When any of these error conditions is detected (LSR(1) to LSR(4)), a Receiver Line Status interrupt (priority 1) will be generated in the IIR with the IER(2) enabled previously. Framing Error Framing Error (FE) bit, a logic 1, indicates that the stop bit in the received character was not valid. It resets low when the CPU reads the contents of the LSR. Parity Error The parity error (PE) indicates by with a logic 1 that the received data character does not have the correct even or odd parity, as selected by LCR(4). It will be reset to "0" whenever the LSR is read by the CPU. Overrun Error Overrun Error (OE) bit indicates by a logic 1 that the RBR has been overwritten by the next character before it had been read by the CPU. In the FIFO mode, the OE occurs when the FIFO is full and the next character has been completely received by the Shift Register. It will be reset when the LSR is read by the CPU. Data Ready A "1" indicates a character has been received by the RBR. And a logic "0" indicates all the data in the RBR or the RCVR FIFO have been read.
6
1
5
1
4
0
3
0
2
0
1
0
0
0
81
IT8673F
(2) MODEM Status Register (MSR) (Read/Write, Address offset=6) This 8-bit register indicates the current state of the control lines with modems or peripheral devices in addition to this current state information. Four of these eight bits MSR(4) - MSR(7) can provide the state change information when a modem control input changes state. It is reset low when the Host reads the MSR. Table 11-35. Modem Status Register Descriptiopn Bit 7 Default 0 Description Data Carrier Detect Data Carrier Detect - Indicates the complement status of Data Carrier Detect (DCD#) input. If MCR(4) = 1, MSR(7) is equivalent to OUT2 of the MCR. Ring Indicator Ring Indicator (RI#) - Indicates the complement status to the RI# input. If MCR(4)=1, MSR(6) is equivalent to OUT1 in the MCR. Data Set Ready Data Set Ready (DSR#) - Indicates that the modem is ready to provide received data to the serial channel receiver circuitry. If the serial channel is in the loop mode (MCR(4) = 1), MSR(5) is equivalent to DTR# in the MCR. Clear to Send Clear to Send (CTS#) - Indicates the complement of CTS# input. When the serial channel is in the loop mode (MCR(4)=1), MSR(5) is equivalent to RTS# in the MCR. Delta Data Carrier Detect Indicates that the DCD# input state has been changed since the last time read by the Host. Trailing Edge Ring Indicator Indicates that the RI input state to the serial channel has been changed from a low to high since the last time read by the Host. The change to logic 1 does not activate the TERI. Delta Data Set Ready Delta Data Set Ready (DDSR) - A logic "1" indicates that the DSR# input state to the serial channel has been changed since the last time read by the Host. Delta Clear to Send This bit indicates the CTS# input to the chip has changed state since the last time the MSR was read.
6
0
5
0
4
0
3
0
2
0
1
0
0
0
82
IT8673F
11.5.4 Reset The reset of the IT8673F should be held to an idle mode reset high for 500 ns until initialization, and this causes the initialization of the transmitter and receiver internal clock counters. Table 11-36. Reset Control of Registers and Pinout Signals Register/Signal
Interrupt Enable Register Interrupt Identification Register FIFO Control Register Line Control Register Modem Control Register Line Status Register Modem Status Register SOUT1, SOUT2 RTS0#, RTS1#, DTR0#, DTR1# IRQ of Serial Port
Reset Control
Reset Reset Reset Reset Reset Reset Reset Reset Reset Reset
Reset Status
All bits Low Bit 0 is high and bits 1-7 are low All bits Low All bits Low All bits Low Bits 5 and 6 are high, others are low Bits 0-3 low, bits 4-7 input signals High High High Impedance
11.5.5 Programming Each serial channel of the IT8673F is programmed by control registers, whose contents define the character length, number of stop bits, parity, baud rate and modem interface. Even though the control register can be written in any given order, the IER should be the last register written because it controls the interrupt enables. After the port has been programmed, these registers can still be updated whenever the port is not transferring data. 11.5.6 Software Reset This approach allows the serial port returning to a completely known state without a system reset. This is achieved by writing the required data to the LCR, DLL, DLM and MCR. The LSR and RBR must be read before enabling interrupts to clear out any residual data or status bits that may be invalid for subsequent operations. 11.5.7 Clock Input Operation The input frequency of the Serial Channel is 24 MHz / 13, not exactly 1.8432 MHz. 11.5.8 FIFO Interrupt Mode Operation (1) RCVR Interrupt When setting FCR(0)=1 and IER(0)=1, the RCVR FIFO and receiver interrupts are enabled. The RCVR interrupt occurs under the following conditions: a. The receive data available interrupt and the IIR, receive data available indication, will be issued only if the FIFO has reached its programmed trigger level. They will be cleared as soon as the FIFO drops below its trigger level b. The receiver line status interrupt has higher priority over the received data available interrupt c. The time-out timer will be reset after receiving a new character or after the Host reads the RCVR FIFO whenever a time-out interrupt occurs. The timer will be reset when the Host reads one character from the RCVR FIFO 83
IT8673F
RCVR FIFO time-out Interrupt: By enabling the RCVR FIFO and receiver interrupts, the RCVR FIFO time-out interrupt will occur under the following conditions: a. The RCVR FIFO time-out interrupt will occur only if there is at least one character in the FIFO whenever the interval between the most recent received serial character and the most recent Host READ from the FIFO is longer than four consecutive character times b. The RLCK clock signal input is used to calculate character times c. The time-out timer will be reset after receiving a new character or after the Host reads the RCVR FIFO whenever any time-out interrupt occurs. The timer will be reset when the Host reads one character from the RCVR FIFO (2) XMIT Interrupt By setting FCR(0) and IER(1) to high, the XMIT FIFO and transmitter interrupts are enabled, and the XMIT interrupt occurs under the conditions described below: a. The transmitter interrupt occurs when the XMIT FIFO is empty, and it will be reset if the THR is written or the IIR is read. b. The transmitter FIFO empty indications will be delayed one character time minus the last stop bit time whenever the following condition occurs: THRE = 1 and there have not been at least two bytes in the transmitter FIFO at the same time since the last THRE = 1. The transmitter interrupt after changing FCR(0) will be immediate, if it is enabled. Once the first transmitter interrupt is enabled, the THRE indication is delayed one character time minus the last stop bit time. The character time-out and RCVR FIFO trigger level interrupts are in the same priority order as the received data available interrupt. The XMIT FIFO empty is in the same priority as the transmitter holding register empty interrupt. FIFO Polled Mode Operation [FCR(0)=1, and IER(0), IER(1), IER(2), IER(3) or all are "0"] Either or both XMIT and RCVR can be in this operation mode. The operation mode can be programmed by users and is responsible for checking the RCVR and XMIT status via the LSR described below: LSR(7): RCVR FIFO error indication LSR(6): XMIT FIFO and Shift register empty LSR(5): The XMIT FIFO empty indication LSR(4) - LSR(1): Specify that errors have occurred. Character error status is handled in the same way as in the interrupt mode. The IIR is not affected since IER(2)=0. LSR(0): This bit is high whenever the RCVR FIFO contains at least one byte. No trigger level is reached or time-out condition indicated in the FIFO Polled Mode.
84
IT8673F
11.6 Parallel Port The IT8673F supports the IBM AT, PS/2 compatible bi-directional standard parallel port (SPP), the Enhanced Parallel Port (EPP) and the Extended Capabilities Port (ECP). Refer to the IT8673F Configuration registers and Hardware Configuration Description for information on the following: enabling/disabling, changing the base address of the parallel port, and operation mode selection. Table 11-37. Parallel Port Connector in Different Modes Host Connector
1 2-9 10 11 12 13 14 15 16 17
Pin No.
96 91-84 82 81 80 79 95 94 93 92
SPP
STB# PD0 - 7 ACK# BUSY PE SLCT AFD# ERR# INIT# SLIN#
EPP
WRITE# PD0 - 7 INTR WAIT# (NU) (1) (NU) (1) DSTB# (NU) (1) (NU) (1) ASTB# nStrobe PD0 - 7 nAck
ECP
Busy PeriphAck(2) PError nAckReverse(2) Select nAutoFd HostAck(2) nFault nPeriphRequest(2) nInit nReverseRequest(2) nSelectIn
Notes : 1. NU : Not used 2. Fast mode 3. For more information, please refer to the IEEE 1284 standard.
85
IT8673F
11.6.1 SPP and EPP Modes Table 11-38. Address Map and Bit Map for SPP and EPP Modes Register
Data Port Status Port Control Port EPP Address Port EPP Data Port0 EPP Data Port1 EPP Data Port2 EPP Data Port3
Address
Base+0h Base+1h Base+2h Base+3h Base+5h Base+5h Base+6h Base+7h
I/O
R/W R R/W R/W R/W R/W R/W R/W
D0
PD0 TMOUT STB PD0 PD0 PD0 PD0 PD0
D1
PD1 1 AFD PD1 PD1 PD1 PD1 PD1
D2
PD2 1 INIT PD2 PD2 PD2 PD2 PD2
D3
PD3
D4
PD4
D5
PD5 PE
D6
PD6
D7
PD7
Mode
SPP/EPP SPP/EPP SPP/EPP EPP EPP EPP EPP EPP
ERR# SLCT SLIN PD3 PD3 PD3 PD3 PD3
ACK# BUSY# 1 PD6 PD6 PD6 PD6 PD6 1 PD7 PD7 PD7 PD7 PD7
IRQE PDDIR PD4 PD4 PD4 PD4 PD4 PD5 PD5 PD5 PD5 PD5
Note 1. The Base Address depends on the Logical Device configuration registers of Parallel Port (0X60, 0X61).
(1) Data Port (Primary Base Address + 00h) This is a bi-directional 8-bit data port. The direction of data flow is determined by the bit 5 of the logic state of the control port register. It forwards directions when the bit is low and reverses directions when the bit is high. (2) Status Port (Primary Base Address + 01h) This is a read only register. Writing to this register has no effects. The contents of this register are latched during an IOR cycle. Bit 7 - BUSY#: Inverse of printer BUSY signal, a logic "0" means that the printer is busy and cannot accept another character. A logic "1" means that it is ready to accept the next character. Bit 6 - ACK#: Printer acknowledge, a logic "0" means that the printer has received a character and is ready to accept another. A logic "1" means that it is still processing the last character. Bit 5 - PE: Paper end, a logic "1" indicates the paper end. Bit 4 - SLCT: Printer selected, a logic "1" means that the printer is on line. Bit 3 - ERR#: Printer error signal, a logic "0" means an error has been detected. Bits 1, 2: Reserved, these bits are always "1" when read. Bit 0 - TMOUT: This bit is valid only in EPP mode and indicates that a 10-msec time-out has occurred in EPP operation. A logic "0" means no time-out occurred and a logic "1" means that a time-out error has been detected. This bit is cleared by a RESET or by writing a logic "1" to it. When the IT8673F are selected to non-EPP mode (SPP or ECP), this bit is always logic "1" when read. (3) Control Port (Primary Base Address +02h) This port provides all output signals to control the printer. The register can be read and written. Bits 7, 6 : Reserved, these two bits are always "1" when read. Bit 5 PDDIR: Data port direction control, this bit determines the direction of the data port. Set this bit "0" to output the data port to PD bus and "1" to input from PD bus. Bit 4 IRQE: Interrupt request enable, setting this bit "1" enables the interrupt requests from the parallel port to the Host. An interrupt request is generated by a "0" to "1" transition of the ACK# signal. Bit 3 SLIN: Inverse of SLIN# pin, setting this bit to "1" selects the printer. Bit 2 INIT: Initiate printer, setting this bit to "0" initializes the printer. Bit 1 AFD: Inverse of the AFD# pin, setting this bit to "1" causes the printer to automatically feed after each 86
IT8673F
line is printed. Bit 0 STB: Inverse of the STB# pin, this pin controls the data strobe signal to the printer. (4) EPP Address Port (Primary Base Address + 03h) The EPP Address Port is only available in the EPP mode. When the Host writes to this port, the contents of D0 -D7 are buffered and output to PD0 - PD7. The leading edge of IOW causes an EPP ADDRESS WRITE cycle. When the Host reads from this port, the contents of PD0 - PD7 are read. The leading edge of IOR causes an EPP ADDRESS READ cycle. (5) EPP Data Ports 0-3 (Primary Base Address + 04h - 07h) The EPP Data Ports are only available in the EPP mode. When the Host writes to these ports, the contents of D0 - D7 are buffered and output to PD0 - PD7. The leading edge of IOW causes an EPP DATA WRITE cycles. When the Host reads from these ports, the contents of PD0 - PD7 are read. The leading edge of IOR causes an EPP DATA READ cycle. 11.6.2 EPP Operation When the parallel port of the IT8673F is selected to be in the EPP mode, the SPP mode is also available. Address/Data Port address is decoded (Base address + 03h- 07h), the PD bus is in the SPP mode, and the output signals such as STB#, AFD#, INIT#, and SLIN# are set by SPP control port. The direction of the data port is controlled by the bit 5 of the control port register. A 10-msec time is required to prevent the system from lockup. The time has elapsed from the beginning of the IOCHRDY high (EPP READ/WRITE cycle) to WAIT# being deasserted. If a time-out occurs, the current EPP READ/WRITE cycle is aborted and a logic "1" will be read in the bit 0 of the status port register. The Host must write 0 to bits 0, 1, 3 of the control port register before any EPP READ/WRITE cycle (EPP spec.) The pins STB#, AFD# and SLIN# are controlled by hardware for the hardware handshaking during EPP READ/WRITE cycle.
(1) EPP ADDRESS WRITE 1. The Host writes a byte to the EPP Address Port (Base address + 03h). The chip drives D0 - D7 onto PD0 - PD7. 2. The chip drives IOCHRDY low and asserts WRITE (STB#) and ASTB# (SLIN#) after IOW is active. 3. Peripheral deasserts WAIT#, indicating that the chip may begin the termination of this cycle. The chip then deasserts ASTB#, latches the address from D0 - D7 to PD bus and releases IOCHRDY, allowing the Host to complete the I/O WRITE cycle. 4. Peripheral asserts WAIT#, indicating that it acknowledges the termination of the cycle. The chip then deasserts WRITE to terminate the cycle.
87
IT8673F
(2) EPP ADDRESS READ 1. The Host reads a byte from the EPP Address Port. The chip drives the PD bus to tri-state for the peripheral to drive. 2. The chip drives IOCHRDY low and asserts ASTB# after IOR is active. 3. Peripheral drives the PD bus valid and deasserts WAIT#, indicating that the chip may begin to terminate this cycle. The chip then deasserts ASTB#, latches the address from PD bus to D0 -D7 and releases IOCHRDY, allowing the Host to complete the I/O READ cycle. 4. Peripheral drives the PD bus to tri-state and then asserts WAIT#, indicating that it acknowledges the termination of the cycle. (3) EPP DATA WRITE 1. The host writes a byte to the EPP Data Port (Base address +04H - 07H). The chip drives D0- D7 onto PD0 -PD7. 2. The chip drives IOCHRDY low and asserts WRITE# (STB#) and DSTB#(AFD#) after IOW becomes active. 3. The peripheral deasserts WAIT#, indicating that the chip may begin the termination of this cycle. The chip then deasserts DSTB#, latches the data from D0 - D7 to the PD bus and releases IOCHRDY, allowing the Host to complete the I/O WRITE cycle. 4. The peripheral asserts WAIT#, indicating that it acknowledges the termination of the cycle. The chip then deasserts WRITE to terminate the cycle. (4) EPP DATA READ 1. The Host reads a byte from the EPP DATA Port. The chip drives PD bus to tri-state for peripheral to drive. 2. The chip drives IOCHRDY low and asserts DSTB# after IOR is active. 3. The peripheral drives PD bus valid and deasserts WAIT#, indicating that the chip may begin the termination of this cycle. The chip then deasserts DSTB#, latches the data from PD bus to D0 - D7 and releases IOCHRDY allowing the host to complete the I/O READ cycle. 4. The peripheral tri-states the PD bus and then asserts WAIT#, indicating that it acknowledges the termination of the cycle. 11.6.3 ECP Mode This mode is both software and hardware compatible with the existing parallel ports, allowing ECP to be used as a standard LPT port when ECP is not required. It provides an automatic high-burst-bandwidth channel that supports DMA or ECP mode in both forward and reverse directions. A 16-byte FIFO is implemented in both forward and reverse directions to smooth data flow and enhance the maximum bandwidth allowed. The port supports an automatic handshaking for the standard parallel port to improve compatibility and increase the speed of mode transfer. It also supports run-length encoded (RLE) decompression in hardware. Compression is accomplished by counting identical bytes and transmitting an RLE byte that indicates how many times a byte has been repeated. The IT8673F does not support hardware RLE compression. Please refer to "Extended Capabilities Port Protocol and ISA Interface Standard" for a detailed description.
88
IT8673F
Table 11-39. Bit Map of the ECP Registers Register
data ecpAFifo dsr dcr cFifo ecpDFifo tFifo cnfgA cnfgB ecr 0 0 0 intrValue mode 0 0
D7
PD7 Addr/RLE nBusy 1
D6
PD6 nAck 1
D5
PD5 PError PPDIR
D4
PD4 Select IRQE
D3
PD3 Address or RLE field nFault SelectIn
D2
PD2 1 nInit
D1
PD1 1 AutoFd
D0
PD0 1 Strobe
Parallel Port Data FIFO ECP Data FIFO Test FIFO 1 0 nErrIntrEn 0 0 dmaEn 0 0 ServiceIntr 0 0 full 0 0 empty
(1) ECP Register Definitions Table 11-40. ECP Register Definitions Name
data ecpAFIFO dsr dcr cFifo ecpDFIFO tFifo cnfgA cnfgB ecr
Address
Primary Base +0H Primary Base +0H Primary Base +1H Primary Base +2H Secondary Base +0H Secondary Base +0H Secondary Base +0H Secondary Base +0H Secondary Base +1H Secondary Base +2H
I/O
R/W R/W R/W R/W R/W R/W R/W R R/W R/W
ECP Mode
000-001 011 All All 010 011 110 111 111 All
Function
Data Register ECP FIFO (Address) Status Register Control Register Parallel Port Data FIFO ECP FIFO (DATA) Test FIFO Configuration Register A Configuration Register B Extended Control Register
Note 1: The Primary base address is selected by configuration registers (0X60, 0X61). The Secondary base address is selected by configuration registers (0X62, 0X63).
(2) ECP Mode Descriptions Table 11-41. ECP Mode Descriptions Mode
000 001 010 011 110 111
Description
Standard Parallel Port Mode PS/2 Parallel Port Mode Parallel Port FIFO Mode ECP Parallel Port Mode Test Mode Configuration Mode
Note: Please refer to the ECP Register Description from page 106 to 107 for detailed descriptions of the mode selection.
89
IT8673F
(3) ECP Pin Descriptions Table 11-42. ECP Pin Descriptions Name
nStrobe (HostClk) PD0-PD7 nAck (PeriphClk) Busy (PeriphACK)
Type
O I/O I I
Description
Used for handshaking with Busy to write data and addresses into the peripheral device. Address or data or RLE data. Used for handshaking with nAutoFd to transfer data from the peripheral device to the Host. The peripheral uses this signal for flow control in the forward direction (hand-shaking with nStrobe). In the reverse direction, this signal is used to determine whether a command or data information is present on PD0-PD7. Used to acknowledge nInit from the peripheral which drives this signal low, allowing the host to drive the PD bus. Printer On-Line indication. In the reverse direction, it is used for handshaking between the nAck and the Host. When it is asserted, a peripheral data byte is requested. In the forward direction, this signal is used to determine whether a command or data information is present on PD0-PD7. In the forward direction (only), the peripheral is allowed (but not required) to assert this signal (low) to request a reverse transfer while in ECP mode. The signal provides a mechanism for peer-to-peer communication. It is typically used to generate an interrupt to the host, which has the ultimate control over the transfer direction. The host may drive this signal low to place the PD bus in the reverse direction. In the ECP mode, the peripheral is permitted to drive the PD bus when nInit is low and nSelectIn is high. Always inactive (high) in the ECP mode.
PError (nAckReverse) Select nAutoFd (HostAck)
I I O
nFault (nPeriphRequest)
I
nInit (nReverseRequest) nSelectIn Active) (1284
O
O
(4) Data Port (Primary Base+0h, Modes 000 and 001) Its contents will be cleared by a RESET. In a write operation, the contents of the data bus are latched by Data Register at the rising edge of the IOW# input. The contents are then sent without being inverted to PD0-PD7. The contents of data ports are read and sent to the host in a read operation. (5) ecpAFifo PORT (Address/RLE) (Primary Base+0h, Mode 011) Any data byte written to this port are placed in the FIFO and tagged as an ECP Address/RLE. The hardware then sends this data automatically to the peripheral. The operation of this port is only valid in forward direction (dcr(5)=0).
90
IT8673F
(6) Device Status Register (dsr) (Primary Base+1h, Mode All) Bits 0, 1 and 2 of this register are not implemented. These bit states remain at high in a read operation of Printer Status Register. dsr(7):This bit is the inverted level of the Busy input. dsr(6): This bit is the state of the nAck input. dsr(5): This bit is the state of the PError input. dsr(4): This bit is the state of the Select input. dsr(3): This bit is the state of the nFault input. dsr(2)-dsr(0): These bits are always 1. (7) Device Control Register (dcr) (Primary Base+2h, Mode All) Bits 6 and 7 of this register supply no function. They are set high during the read operation, and cannot be written. Contents in bits 0-5 are initialized to 0 when the RESET pin is active. dcr(7)-dcr(6) : These two bits are always high. dcr(5) : Except in modes 000 and 010, setting this bit low means that the PD bus is in output operation; setting it high, in input operation. This bit will be forced low in mode 000. dcr(4): Setting this bit high enables the interrupt request from the peripheral to the host due to a rising edge of the nAck input. dcr(3): It is inverted and output to the pin nSelectIn. dcr(2): It is output to the pin nInit without inversion. dcr(1): It is inverted and output to the pin nAutoFd. dcr(0): It is inverted and output to the pin nStrobe. (8) Parallel Port Data FIFO (cFifo) (Secondary Base+0h, Mode 010) Bytes written or DMA transferred from the Host to this FIFO are sent by a hardware handshaking to the peripheral according to the standard parallel port protocol. This operation is only defined for the forward direction. (9) ECP Data FIFO (ecpDFifo) (Secondary Base+0h, Mode 011) When the direction bit dcr(5) is 0, bytes written or DMA transferred from the Host to this FIFO are sent by a hardware handshaking to the peripheral according to the ECP parallel port protocol. When the dcr(5) is 1, data bytes from the peripheral to this FIFO are read in an automatic hardware handshaking. The Host can acquire these bytes by performing read operations or DMA transfers from this FIFO. (10) Test FIFO Mode (tFifo) (Secondary Base+0h, Mode 110) The Host may operate read/write or DMA transfers to this FIFO in any direction. Data in this FIFO will be displayed on the PD bus without using hardware protocol handshaking. The tFifo will not accept new data after it is full. Performing a read operation from an empty tFifo causes the last data byte to return. (11) Configuration Register A (cnfgA) (Secondary Base+0h, Mode 111) This read only register indicates to the system that interrupts are ISA-Pulses. This is an 8-bit implementation by returning a 10h.
91
IT8673F
(12) Configuration Register B (cnfgB) (Secondary Base+1h, Mode 111) This register is read only. cnfgB(7): A logic "0" read indicates that the chip does not support hardware RLE compression. cnfgB(6):Returns the value on the ISA IRQ line to warn possible conflicts. cnfgB(5)-cnfgB(3): A value 000 read indicates that the interrupt must be selected with jumpers. cnfgB(2)-cnfgB(0): A value 000 read indicates that the DMA channel is a jumpered 8-bit DMA. (13) Extended Control Register (ECR) (Secondary Base+2h, Mode All) Table 11-43. Extended Control Register (ECR) Mode and Description ECR
000 001
Mode and Description
Standard Parallel Port Mode. The FIFO is reset and the direction bit dcr(5) is always "0" (forward direction) in this mode. PS/2 Parallel Port Mode. It is similar to the SPP mode except that the dcr(5) is read/write. When dcr(5) is "1", the PD bus is tri-state. Reading the data port returns the value on the PD bus instead of the value of the data register. Parallel Port Data FIFO Mode. This mode is similar to the 000 mode, except that the Host writes or DMA transfers the data bytes to the FIFO. The FIFO data is then automatically sent to the peripheral using the standard parallel port protocol. This mode is only valid in the forward direction (dcr(5)=0) ECP Parallel Port Mode. In the forward direction, bytes placed into the ecpDFifo and ecpAFifo are stored in a single FIFO and automatically sent to the peripheral under the ECP protocol. In the reverse direction, bytes are sent to the ecpDFifo from ECP port.
010
011
100, 101 Reserved, not defined. 110 111 Test mode. In this mode, the FIFO may be read from or written to, but it cannot be sent to the peripheral. Configuration mode. In this mode, the cnfgA and cnfgB registers are accessible at 0x400 and 0x401.
92
IT8673F
ECP function control register. ecr(7)-ecr(5): These bits are used for read/write and Mode selection. ecr(4): nErrIntrEn, read/write, Valid in ECP(011) Mode 1: Disables the interrupt generated on the asserting edge of the nFault input. 0: Enables the interrupt pulse on the asserting edge of the nFault. An interrupt pulse will be generated if nFault is asserted, or if this bit is written from "1" to "0" in the low level nFault. ecr(3): dmaEn, read/write 1: Enables DMA. DMA starts when serviceIntr (ecr(2)) is 0. 0: Disables DMA unconditionally. ecr(2): serviceIntr, read/write 1: Disables DMA and all service interrupts. 0: Enables the service interrupts. This bit will be set to 1 by hardware when one of the three service interrupts has occurred. Writing "1" to this bit will not generate an interrupt. Case 1: dmaEn=1 During DMA, this bit is set to "1" (a service interrupt generated) if the terminal count is reached. Case 2: dmaEn=0, dcr(5)=0 This bit is set to "1" (a service interrupt generated) whenever there is writeiIntrThreshold or more space-free bytes in the FIFO. Case 3: dmaEn=0, dcr(5)=1 This bit is set to 1 (a service interrupt generated) whenever there is READIntrThreshold or more valid bytes to be read from the FIFO. ecr(1): full, read only 1: The FIFO is full and cannot accept another byte. 0: The FIFO has at least one free data byte space. ecr(0): empty, read only 1: The FIFO is empty. 0: The FIFO contains at least one data byte. (14) Mode Switching Operation In programmed I/O control (mode 000 or 001), P1284 negotiation and all other tasks happening before data are transferred, and are controlled by software. Setting mode to 011 or 010 will cause the hardware to perform an automatic control-line handshaking and transferring information between the FIFO and the ECP port. From mode 000 or 001, any other mode may be immediately switched to or any other mode. To change directions, the mode must first be set to 001. In extended forward mode, the FIFO must be cleared and all signals deasserted before returning to mode 000 or 001. In the ECP reverse mode, all data must be read from the FIFO before returning to mode 000 or 001. Unneeded data are usually accumulated during ECP reverse handshaking, as when the mode is changed during a data transfer. If the above condition is satisfied, nAutoFd will be deasserted regardless 93
IT8673F
of the transfer state. To avoid bugs during handshaking, these guidelines must be followed. (15) Software Operation (ECP) Before the ECP operation can begin, it is first necessary for the Host to switch the mode to 000 to negotiate with the parallel port. Host determines whether the peripheral supports the ECP protocol during the process. After the negotiation is completed, the mode is set to 011 (ECP). To enable the drivers, the direction must be set to 0. Both strobe and autoFd are set to 0, causing the nStrobe and nAutoFd signals to be deasserted. All FIFO data transfers are PWord wide and PWord aligned. Permitted only in the forward direction, Address/RLE transfers are byte-wide. ECP address/RLE bytes may be automatically transmitted by writing to the ecpAFifo. Similarly, data PWords may be sent automatically via the ecpDFifo. To change directions, the Host switches mode to 001. It then negotiates either the forward or reverse channel, sets direction to "1" or "0", and finally switches mode to 001. If the direction is set to 1, the hardware performs a handshaking for each ECP data byte READ, and tries to fill the FIFO. At this time, PWords may be read from the ecpDFifo while it retains data. It is also possible for the hardware to perform the ECP transfers by handshaking with individual bytes under programmed control in mode = 001, or 000, even though this is a comparatively time-consuming approach. (16) Hardware Operation (DMA) The Standard PC DMA protocol is followed. As in the programmed I/O case, the software sets direction and state. Next, the desired count and memory address are programmed into DMA controller. The dmaEn is set to 1, and the serviceIntr is set to "0". To complete the process, the DMA channel with the DMA controller is unmasked. The contents in the FIFO are emptied or filled by DMA using the right mode and direction. DMA is always transferred to or from the FIFO located at 0 x 400. By generating an interrupt and asserting a serviceIntr, DMA is disabled when the DMA controller reaches the terminal count. By not asserting LDRQ# for more than 32 consecutive DMA cycles, blocking of refresh requests is eliminated. When it is necessary to disable a DMA while this is performing a data transfer, the host DMA controller is disabled serviceIntr is then set to"1", and dmaEn is next set to 0. The DMA will start again whether or not the contents in FIFO are empty or full. This is done first by enabling the host DMA controller, then setting dmaEn to "1". The procedure is completed with serviceIntr set to 0. Upon the completion of a DMA transfer in the forward direction, the software program must wait until the contents in FIFO are empty and the busy line is low to ensure that all data reach the peripheral device successfully. (17) Interrupts When any of the following states are reached, it is necessary to generate an interrupt. 1. serviceIntr = 0, dmaEn = 0, direction = 0, and the number of PWords in the FIFO is greater than or equal to writeIntrThreshold. 2. serviceIntr = 0, dmaEn = 0, direction = 1, and the number of PWords in the FIFO is greater than or equal to readIntrThreshold. 3. serviceIntr = 0, dmaEn = 1, and DMA reaches the terminal count.
94
IT8673F
4. nErrIntrEn = 0 and nFault goes from high to low or when nErrIntrEn is set from "1" to "0" and nFault is asserted. 5. ackIntEn = 1. In current implementations of using existing parallel ports, the generated interrupt may be either edge trigger or level trigger type, making it "ISA-friendly". (18) Interrupt Driven Programmed I/O It is also possible to use an interrupt-driven programmed I/O to execute either ECP or parallel port FIFOs. An interrupt will occur in the forward direction when serviceIntr is 0 and the number of free PWords in the FIFO is equal to or greater than writeIntrThreshold. If either of these conditions is not met, it may be filled with writeIntrThreshold PWords. An interrupt will occur in the reverse direction when serviceIntr is "0" and the number of available PWords in the FIFO is equal to READIntrThreshold. If it is full, the FIFO can be emptied completely in a single burst. If it is not full, only a number of PWords equal to READIntrThreshold may be read from the FIFO in a single burst. In the Test mode, software can determine the values of writeIntrThreshold, READIntrThreshold, and FIFO depth while accessing the FIFO. Any PC ISA implementation that is adjusted to expedite DMA or I/O transfer must ensure that the bandwidth on the ISA is maintained on the interface. Although the PC ISA bus cannot be directly controlled, the interface bandwidth of the ECP port can be constrained to perform at the optimum speed. (19) Standard Parallel Port In the forward direction with DMA, the standard parallel port is run at or close to the permitted peak bandwidth of 500 Kbytes/sec. The state machine does not examine nAck, but just begins the next DMA based on the Busy signal.
95
IT8673F
11.7 Keyboard Controller (KBC) The keyboard controller is implemented using an 8-bit microcontroller which is capable of executing the 8042 instruction set. For general information, please refer to the description of the 8042 in the 8-bit controller handbook. In addition, the microcontroller can enter power-down mode by executing two kinds of power-down instructions. The 8-bit microcontroller has 256 bytes of RAM for data memory and 2 Kbytes of ROM for the program storage. The ROM codes may come from various vendors (or users), and are programmed during the manufacturing process. To assist in developing ROM codes, the keyboard controller has an external access mode. In the external access mode, the internal ROM is disabled and the instructions executed by the microcontroller come from an externally connected ROM.
Keyboard P20 Controller P21
P26 T0 P27 P10 P23 T1 P22 P11 P24 P25
KRST* GATEA20 KCLK KDAT MCLK MDAT KIRQ MIRQ
Figure 11-1. Keyboard and Mouse Interface 11.7.1 Host Interface The keyboard controller interfaces with the system through the 8042 style host interface. The table below shows how the interface decodes the control signals. Table 11-44. Data Register READ/WRITE Controls Host Address(Note) 60h 60h 64h 64h R/W* R W R W READ DATA WRITE DATA, (Clear F1) READ Status WRITE Command, (set F1) Function
96
IT8673F
Note: These are the default values of the LDN5, 60h and 61h (DATA); LDN5, 62h and 63h (Command). All these registers are programmable. READ DATA: This is an 8-bit read only register. When read, the KIRQ output is cleared and OBF flag in the status register is cleared. WRITE DATA: This is an 8-bit write only register. When written, the F1 flag of the Status register is cleared and the IBF bit is set. READ Status: This is an 8-bit read only register. Refer to the description of the Status register for more information. WRITE Command: This is an 8-bit write only register. When written, both F1 and IBF flags of the Status register are set. 11.7.2 Data Registers and Status Register The keyboard controller provides two data registers, one is DBIN for data input, the other is DBOUT for data output. Each of the data registers are 8-bit wide. A write (microcontroller) to the DBOUT will load Keyboard Data Read Buffer, set OBF flag and set the KIRQ output. A read (microcontroller) of the DBIN will read the data from the Keyboard Data or Command Write Buffer and clear the IBF flag. The status register holds information concerning the status of the data registers, the internal flags, and some user-defined status bits. Please refer to Table 11-45. The bit 0 OBF is set to "1" when the microcontroller writes a data into DBOUT, and is cleared when the system initiates a DATA READ operation. The bit 1 IBF is set to "1" when the system initiates a WRITE operation, and is cleared when the microcontroller executes an "IN A, DBB" instruction. The F0 and F1 flags can be set or reset when the microcontroller executes the clear and complement flag instructions. F1 also holds system WRITE information when the system performs WRITE operations. Table 11-45. Status Register 7 ST7 6 ST6 5 ST5 4 ST4 3 F1 2 F0 1 IBF 0 OBF
11.7.3 Keyboard and Mouse Interface KCLK is the keyboard clock pin; its output is the inversion of pin P26 of the microcontroller, and the input of KCLK is connected to the T0 pin of the microcontroller. KDAT is the keyboard data pin; its output is the inversion of pin P27 of the microcontroller, and the input of KDAT is connected to the P10 of the microcontroller. MCLK is the mouse clock pin; its output is the inversion of pin P23 of the microcontroller, and the input of MCLK is connected to the T1 pin of the microcontroller. MDAT is the Mouse data pin; its output is the inversion of pin P22 of the microcontroller, and the input of MDAT is connected to the P11 of the microcontroller. KRST# is pin P20 of the microcontroller. GATEA20 is the pin P21 of the microcontroller. These two pins are used as a software controlled or user defined outputs. External pull-ups may be required for these pins. 11.7.4 KIRQ and MIRQ KIRQ is the interrupt request for keyboard (Default IRQ1), and MIRQ is the interrupt request for mouse (Default IRQ12). KIRQ is internally connected to P24 pin of the microcontroller, and MIRQ is internally connected to pin P25 of the microcontroller.
97
IT8673F
11.8 Consumer Remote Control (TV Remote) IR (CIR) 11.8.1 Overview The CIR is used in Consumer Remote Control equipment, and is a programmable amplitude shift keyed (ASK) serial communication protocol. By adjusting frequencies, baud rate divisor values and sensitivity ranges, the CIR registers are able to support the popular protocols such as RC-5, NEC, and RECS-80. Software driver programming can support new protocols. 11.8.2 Features Supports 30 kHz-57 kHz (low frequency) or 400 kHz-500 kHz (high frequency) carrier transmission Baud rates up to 115200 BPS (high frequency) Demodulation optional Supports transmission run-length encoding and deferral functions 32-byte FIFO for data transmission or data reception 11.8.3 Block Diagram The CIR consists of the Transmitter and Receiver parts. The Transmitter part is responsible for transmitting data to the FIFO, processing the FIFO data by serialization, modulation and sending out the data through the LED device. The Receiver part is responsible for receiving data, processing data by demodulation, deserialization and storing data in the Receiver FIFO.
00000000 11110000
Transmitter
Transmitter FIFO Serialization Modulator
data
Host Interface
Interface & Registers
Baud Rate Gen.
data
Receiver
Interrupt Gen. Receiver FIFO Deserialization
Demodulator
00000000 11110000
Figure 11-2. CIR Block Diagram 98
IT8673F
11.8.4 Transmit Operation The data written to the Transmitter FIFO will be exactly serialized from LSB to MSB, modulated with carrier frequency and sent to the CIRTX output. The data are either in bit-string format or run-length decode. Before the data transmission can begin, code byte write operations must be performed to the Transmitter FIFO DR. The bit TXRLE in the TCR1 should be set to "1" before the run-length decode data can be written into the Transmitter FIFO. Setting TXENDF in the TCR1 will enable the data transmission deferral, and avoid the transmitter FIFO underrun. The bit width of the serialized bit string is determined by the value programmed in the baud rate divisor registers BDLR and BDHR. When the bits HCFS and CFQ[4:0] are set, either the high-speed or low-speed carrier range is selected, and the corresponding carrier frequency will also be determined. Bits TXMPM[1:0] and TXMPW[2:0] specify the pulse numbers in a bit width and the required duty cycles of the carrier pulse according to the communication protocol. Only a logic "0" can activate the Transmitter LED in the format of a series of modulating pulses. 11.8.5 Receive Operation The Receiver function is enabled if the bit RXEN in the RCR is set to "1". Either demodulated or modulated RX# signal is loaded into the Receiver FIFO, and the bit RXEND in the RCR determines the demodulation logic should be used or not. Determine the baud rate by programming the baud rate divisor registers BDLR and BDHR, and the carrier frequencies by programming the bits HCFS and CFQ[4:0]. Set RDWOS to "0" to sync. The bit RXACT in the RCR is set to "1" when the serial data or the selected carrier are incoming, and the sampled data will then be kept in the Receiver FIFO. Write "1" to the bit RXACT to stop the Receiver operation; "0" to the bit RXEN to disable the Receiver. 11.8.6 Register Descriptions and Address Table 11-46. List of CIR Registers Address Base + 0h Base + 1h Base + 2h Base + 3h Base + 4h Base + 5h Base + 6h Base + 5h Base + 6h Base + 7h R/W R/W R/W R/W R/W R/W R R R/W R/W R/W Default FFh 00h 01h 00h 5Ch 00h 00h 00h 00h 01h CIR Data Register (DR) CIR Interrupt Enable Register (IER) CIR Receiver Control Register (RCR) CIR Transmitter Control Register 1 (TCR1) CIR Transmitter Control Register 2 (TCR2) CIR Transmitter Status Register (TSR) CIR Receiver Status Register (RSR) CIR Baud Rate Divisor Low Byte Register (BDLR) CIR Baud Rate Divisor High Byte Register (BDHR) CIR Interrupt Identification Register (IIR) Name
99
IT8673F
11.8.6.1 CIR Data Register (DR) The DR, an 8-bit read/write register, is the data port for CIR. Data are transmitted and received through this register. Address: Base address + 0h Bit 7-0 R/W R/W Default FFh Description CIR Data Register (DR[7:0]) Writing data to this register causes data to be written to the Transmitter FIFO. Reading data from this register causes data to be received from the Receiver FIFO.
11.8.6.2 CIR Interrupt Enable Register (IER) The IER, an 8-bit read/write register, is used to enable the CIR interrupt request. Address: Base address + 1h Bit 7-6 5 R/W R/W Default 0b Reserved for ITE use. RESET (RESET) This bit is a software reset function. Writing a "1" to this bit resets the registers of DR, IER, TCR1, BDLR, BDHR and IIR. This bit is then cleared to initial value automatically. Baud Rate Register Enable Function Control (BR) This bit is used to control the baud rate registers enable read/write function. Set this bit to "1" to enable the baud rate registers for CIR. Set this bit to "0" to disabdle the baud rate registers for CIR. Interrupt Enable Function Control (IEC) This bit is used to control the interrupt enable function. Set this bit to "1" to enable the interrupt request for CIR. Set this bit to "0" to disable the interrupt request for CIR. Receiver FIFO Overrun Interrupt Enable (RFOIE) This bit is used to control Receiver FIFO Overrun Interrupt request. Set this bit to "1" to enable Receiver FIFO Overrun Interrupt request. Set this bit to "0" to disable Receiver FIFO Overrun Interrupt request. Receiver Data Available Interrupt Enable (RDAIE) This bit is used to enable Receiver Data Available Interrupt request. The Receiver will generate this interrupt when the data available in the FIFO exceed the FIFO Threshold Level. Set this bit to "1" to enable Receiver Data Available Interrupt request. Set this bit to "0" to disable Receiver Data Available Interrupt request. Transmitter Low Data Level Interrupt Enable (TLDLIE) This bit is used to enable Transmitter Low Data Level Interrupt request. The Transmitter will generate this interrupt when the data available in the FIFO are less than the FIFO threshold Level. Set this bit to "1" to enable Transmitter Low Data Level Interrupt request. Set this bit to "0" to disable Transmitter Low Data Level Interrupt request. Description
4
R/W
0b
3
R/W
0b
2
R/W
0b
1
R/W
0b
0
R/W
0b
100
IT8673F
11.8.6.3 CIR Receiver Control Register (RCR) The RCR, an 8-bit read/write register, is used to control the CIR Receiver. Address: Base address + 2h Bit 7 R/W R/W Default 0b Description Receiver Data Without Sync. (RDWOS) This bit is used to control the sync. logic for Receiving data. Set this bit to "1" to obtain the receiving data without sync. logic. Set this bit to "0" to obtain the receiving data in sync. logic. High-Speed Carrier Frequency Select (HCFS) This bit is used to select Carrier Frequency between high-speed and low-speed. 0 30-58 kHz (Default) 1 400-500 kHz Receiver Enable (RXEN) This bit is used to enable Receiver function. Enable Receiver and the RXACT will be active if the selected carrier frequency is received. Set this bit to "1" to enable the Receiver function. Set this bit to "0" to disable the Receiver function. Receiver Demodulation Enable (RXEND) This bit is used to control the Receiver Demodulation logic. If the Receiver device can not demodulate the correct carrier, set this bit to "1". Set this bit to "1" to enable Receiver Demodulation logic. Set this bit to "0" to disable Receiver Demodulation logic. Receiver Active (RXACT) This bit is used to control the Receiver operation. This bit is set to "0" when the Receiver is inactive. This bit will be set to "1" when the Receiver detects a pulse (RXEND=0) or pulse-train (RXEND=1) with correct carrier frequency. The Receiver then starts to sample the input data when Receiver Active is set. Write a "1" to this bit to clear the Receiver Active condition and make the Receiver enter the inactive mode. Receiver Demodulation Carrier Range (RXDCR[2:0]) These three bits are used to set the tolerance of the Receiver Demodulation carrier frequency. See Table 11-48 and Table 11-49.
6
R/W
0b
5
R/W
0b
4
R/W
0b
3
R/W
0b
2-0
R/W
001b
101
IT8673F
11.8.6.4 CIR Transmitter Control Register 1 (TCR1) The TCR1, an 8-bit read/write register, is used to control the Transmitter. Address: Base address + 3h Bit 7 R/W R/W Default 0b Description FIFO Clear (FIFOCLR) Writing a "1" to this bit clears the FIFO. This bit is then cleared to 0 automatically. Internal Loopback Enable (ILE) This bit is used to execute internal loopback for test and must be "0" in normal operation. Set this bit to "0" to disable the Internal Loopback mode. Set this bit to "1" to enable the Internal Loopback mode. FIFO Threshold Level (FIFOTL) These two bits are used to set the FIFO Threshold Level. The FIFO length is 32 bytes for TX or RX function (ILE = 0) in normal operation and 16 bytes for both TX and RX in internal loopback mode (ILE = 1). 16-Byte Mode 32-Byte Mode 00 1 1(Default) 01 3 7 10 7 17 11 13 25 Transmitter Run Length Enable (TXRLE) This bit controls the Transmitter Run Length encoding/decoding mode, which condenses a series of "1" or "0" into one byte with the bit value stored in bit 7 and number of bits minus 1 in bits 6 - 0. Set this bit to "1" to enable the Transmitter Run Length encoding/decoding mode. Set this bit to "0" to disable the Transmitter Run Length encoding/decoding mode. 2 R/W 0b Transmitter Deferral (TXENDF) This bit is used to avoid Transmitter underrun condition. When this bit is set to "1", the Transmitter FIFO data will be retained until the transmitter time-out condition occurs or the FIFO reaches full. Transmitter Modulation Pulse Mode (TXMPM[1:0]) These two bits are used to define the Transmitter modulation pulse mode. TXMPM[1:0] Modulation Pulse Mode C_pls mode (Default): Pulses are generated continuously for the entire logic 0 bit time. 8_pls mode: 8 pulses are generated for each logic 0 bit. 6_pls mode: 6 pulses are generated for each logic 0 bit. 11: Reserved
6
R/W
0b
5-4
R/W
0b
3
R/W
0b
1-0
R/W
0b
102
IT8673F
11.8.6.5 CIR Transmitter Control Register (TCR2) The TCR2, an 8-bit read/write register, is used to determine the carrier frequency. Address: Base address + 4h Bit 7-3 R/W R/W Default 01011b Carrier Frequency (CFQ[4:0]) These five bits are used to determine the modulation carrier frequency. See Table 11-47 on the next page. 2-0 R/W 100b Transmitter Modulation Pulse Width (TXMPW[2:0]) These three bits are used to set the Transmitter Modulation pulse width. The duty cycle of the carrier will be determined according to the settings of Carrier Frequency and the selection of Transmitter Modulation Pulse Width. TXMPW[2:0] HCFS = 0 HCFS = 1 000 Reserved Reserved 001 Reserved Reserved 010 0.7us 6 s 011 0.8us 7 s 100 0.9us(Default) 8.7 s 101 1.0us 10.6 s 110 1.16us 13.3 s 111 Reserved Reserved Description
103
IT8673F
Table 11-47. Modulation Carrier Frequency CFQ 00000 00010 00011 00100 00101 00110 00111 01000 01001 01010 01011 01100 01101 01110 01111 10000 10001 10010 10011 10100 10101 10110 10111 11000 11001 11010 11011 11100 11101 11110 11111 Low Frequency (HCFS =0) 27 kHz 29 kHz 30 kHz 31 kHz 32 kHz 33 kHz 34 kHz 35 kHz 36 kHz 37 kHz 38 kHz (default) 39 kHz 40 kHz 41 kHz 42 kHz 43 kHz 44 kHz 45 kHz 46 kHz 47 kHz 48 kHz 49 kHz 50 kHz 51 kHz 52 kHz 53 kHz 54 kHz 55 kHz 56 kHz 57 kHz 58 kHz High Frequency (HCFS = 1) 400 kHz 450 kHz 480 kHz (default) 500 kHz -
104
IT8673F
Table 11-48. Receiver Demodulation Low Frequency (HCFS = 0) RXDCR CFQ 00001 00010 00011 00100 00101 00110 00111 01000 01001 01010 01011 01100 01101 01110 01111 10000 10001 10010 10011 10100 10101 10110 10111 11000 11001 11010 11011 11100 11101 11110 001 Min. Max. 26.25 29.75 010 Min. 24.5 Max. 011 Min. Max. 31.5 22.75 33.25 100 Min. 21 22.5 24 25.5 27 28.5 30 31.5 33 34.5 36 37.5 Max. 101 Min. Max. 35 19.25 36.75 110 Min. 17.5 Max. (Hz) 38.5 28k
27.19 30.81 25.38 32.63 23.56 34.44 21.75 36.25 19.94 38.06 18.13 39.88 29k 28.13 31.88 26.25 33.75 24.38 35.63 30 34 28 36 26 38 37.5 20.63 39.38 18.75 41.25 30k 40 22 42 20 44 32k 29.06 32.94 27.13 34.88 25.19 36.81 23.25 38.75 21.31 40.69 19.38 42.63 31k 30.94 35.06 28.88 37.13 26.81 39.19 24.75 41.25 22.69 43.31 20.63 45.38 33k 31.88 36.13 29.75 38.25 27.63 40.38 33.75 38.25 31.5 40.5 29.25 42.75 42.5 23.38 44.63 21.25 46.75 34k 45 24.75 47.25 22.5 49.5 36k 32.81 37.19 30.63 39.38 28.44 41.56 26.25 43.75 24.06 45.94 21.88 48.13 35k 34.69 39.31 32.38 41.63 30.06 43.94 27.75 46.25 25.44 48.56 23.13 50.88 37k 35.63 40.38 33.25 42.75 30.88 45.13 37.5 42.5 35 45 32.5 47.5 47.5 26.13 49.88 23.75 52.25 38k 50 27.5 52.5 25 55 40k 36.56 41.44 34.13 43.88 31.69 46.31 29.25 48.75 26.81 51.19 24.38 53.63 39k 38.44 43.56 35.88 46.13 33.31 48.69 30.75 51.25 28.19 53.81 25.63 56.38 41k 39.38 44.63 36.75 47.25 34.13 49.88 41.25 46.75 38.5 49.5 35.75 52.25 52.5 28.88 55.13 26.25 57.75 42k 55 30.25 57.75 27.5 60.5 44k 40.31 45.69 37.63 48.38 34.94 51.06 32.25 53.75 29.56 56.44 26.88 59.13 43k 42.19 47.81 39.38 50.63 36.56 53.44 33.75 56.25 30.94 59.06 28.13 61.88 45k 43.13 48.88 40.25 51.75 37.38 54.63 45 51 42 54 39 57 57.5 31.63 60.38 28.75 63.25 46k 60 33 63 30 66 48k 44.06 49.94 41.13 52.88 38.19 55.81 35.25 58.75 32.31 61.69 29.38 64.63 47k 45.94 52.06 42.88 55.13 39.81 58.19 36.75 61.25 33.69 64.31 30.63 67.38 49k 46.88 53.13 43.75 56.25 40.63 59.38 62.5 34.38 65.63 31.25 68.75 50k 41.1 69.77 39.47 75 52k 47.81 54.19 44.63 57.38 41.44 60.56 38.25 63.75 35.06 66.94 31.88 70.13 51k 49.18 54.55 46.88 57.69 44.78 61.22 42.86 65.22 50.63 57.38 47.25 60.75 43.88 64.13 52.5 59.5 49 63 45.5 66.5 40.5 42 49.69 56.31 46.38 59.63 43.06 62.94 39.75 66.25 36.44 69.56 33.13 72.88 53k 67.5 37.13 70.88 33.75 74.25 54k 70 38.5 73.5 35 77 56k 51.56 58.44 48.13 61.88 44.69 65.31 41.25 68.75 37.81 72.19 34.38 75.63 55k 53.44 60.56 49.88 64.13 46.31 67.69 42.75 71.25 39.19 74.81 35.63 78.38 57k
105
IT8673F
Table 11-49. Receiver Demodulation High Frequency (HCFS = 1) RXDCR CFQ 00011 01000 01011 01011 001 Min. Max. 375 450 425 510 010 Min. Max. 350 420 450 540 011 Min. Max. 325 390 475 570 100 Min. Max. 300 360 375 500 600 101 Min. Max. 275 330 525 630 110 Min. Max. 250 300
(Hz)
550 400k 660 480k
421.9 478.1 393.8 506.3 365.6 534.4 337.5 562.5 309.4 590.6 281.3 618.8 450k 468.8 531.3 437.5 562.5 406.3 593.8 625 343.8 656.3 312.5 687.5 500k
11.8.6.6 CIR Baud Rate Divisor Low Byte Register (BDLR) The BDLR, an 8-bit read/write register, is used to program the CIR Baud Rate clock. Address: Base address + 5h (when BR = 1) Bit 7-0 R/W R/W Default 00h Description Baud Rate Divisor Low Byte (BDLR[7:0]) These bits are the low byte of the register used to divide the Baud Rate clock.
11.8.6.7 CIR Baud Rate Divisor High Byte Register (BDHR) The BDHR, an 8-bit read/write register, is used to program the CIR Baud Rate clock. Address: Base address + 6h (when BR = 1) Bit 7-0 R/W R/W Default 00h Description Baud Rate Divisor High Byte (BDHR[7:0]) These bits are the high byte of the register used to divide the Baud Rate clock.
Baud rate divisor = 115200 / baud rate Ex1: 2400bps 115200 /2400 = 48 48(d) = 0030 (h) BDHR = 00(h), BDLR = 30(h) Ex2: bit width = 0.565 ms 1770 bps 115200 / 1770 = 65(d) = 0041(h) BDHR = 00(h), BDLR = 0041(h) 11.8.6.8 CIR Transmitter Status Register (TSR) The TSR, an 8-bit read only register, provides the Transmitter FIFO status. Address: Base address + 5h Bit 7-6 5-0 R/W R R Default 000000b Reserved Transmitter FIFO Byte Count (TXFBC[5:0]) Return the number of bytes left in the Transmitter FIFO. Description
106
IT8673F
11.8.6.9 CIR Receiver FIFO Status Register (RSR) The RSR, an 8-bit read only register, provides the Receiver FIFO status. Address: Base address + 6h Bit 7 R/W R Default 0b Description Receiver FIFO Time-out (RXFTO) This bit will be set to "1" when a Receiver FIFO time-out condition occurs. The conditions that must exist for a Receiver FIFO time-out condition to occur include the followings: a. At least one byte has been in the Receiver FIFO is not empty for 64 ms or more, and b. The receiver has been inactive (RXACT=0) for over 64 ms or more, and c. More than 64 ms have elapsed since the last byte was read from the Receiver FIFO by the CPU Reserved Receiver FIFO Byte Count (RXFBC) Return the number of bytes left in the Receiver FIFO.
6 5-0
R
000000b
11.8.6.10
CIR Interrupt Identification Register (IIR)
The IIR, an 8-bit read only register, is used to identify the pending interrupts. Address: Base address + 7h Bit 7-3 2-1 R/W R Default 00b Reserved Interrupt Identification These two bits are used to identify the source of the pending interrupts. IID[1:0] Interrupt Source 00 No interrupt 01 Transmitter Low Data Level Interrupt 10 Receiver Data Stored Interrupt 11 Receiver FIFO Overrun Interrupt Interrupt Pending This bit will be set to "1" while an interrupt is pending. Description
0
R
1b
107
IT8673F
12. DC Electrical Characteristics
Absolute Maximum Ratings* Applied Voltage.................................... -0.5V to 7.0V Input Voltage (Vi) ....................... -0.5V to VCC+0.5V Output Voltage (Vo)................. -0.5V to VCC + 0.3V Operation Temperature (Topt)............. 0C to +70C Storage Temperature .................... -55C to +125C Power Dissipation ........................................ 300mW *Comments Stresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to this device. These are stress ratings only. Functional operation of this device at these or any other conditions above those indicated in the operational sections of this specification is not implied or intended. Exposure to the absolute maximum rating conditions for extended periods may affect device reliability.
DC Electrical Characteristics (VCC = 5V 5%, Ta = 0C to + 70C) Symbol Parameter DO8 Buffer VOL Low Output Voltage VOH High Output Voltage DOD8 Buffer VOL Low Output Voltage DOD24 Buffer VOL Low Output Voltage DO16 Buffer VOL Low Output Voltage VOH High Output Voltage DO40 Buffer VOL Low Output Voltage VOH High Output Voltage DIOD8 Type Buffer VOL Low Output Voltage VIL Low Input Voltage VIH High Input Voltage IIL Low Input Leakage IIH High Input Leakage IOZ 3-state Leakage DIOD16 Type Buffer VOL VIL VIH IIL IIH IOZ Low Output Voltage Low Input Voltage High Input Voltage Low Input Leakage High Input Leakage 3-state Leakage 2.2 10 -10 20 0.4 0.8 V V V A A A VIN = 0 VIN = VCC IOL = 16 mA Min. Typ. Max. 0.4 2.4 0.4 0.4 0.4 2.4 0.5 2.4 0.4 0.8 2.2 10 -10 20 Unit V V V V V V V V V V V A A A Conditions IOL = 8 mA IOH = -8 mA IOL = 8 mA IOL = 24 mA IOL = 16 mA IOH = -16 mA IOL = 48 mA IOH = -6 mA IOL = 8 mA VIN = 0 VIN = VCC
108
IT8673F
DC Electrical Characteristics (VCC = 5V 5%, Ta = 0C to + 70C) [cont'd] Symbol VOL VOH VIL VIH IIL IIH IOZ VIL VIH IIL IIH Parameter Low Output Voltage High Output Voltage Low Input Voltage High Input Voltage Low Input Leakage High Input Leakage 3-state Leakage Low Input Voltage High Input Voltage Low Input Leakage High Input Leakage 2.2 10 -10 2.2 10 -10 20 0.8 2.4 0.8 Min. Typ. Max. 0.4 Unit V V V V A A A V V A A VIN = 0 VIN = VCC VIN = 0 VIN = VCC Conditions IOL = 24 mA IOH = -24 mA DIO24 Type Buffer
DI Type Buffer
109
IT8673F
13. AC Characteristics (VCC = 5V 5%, Ta = 0C to + 70C)
13.1 Clock Input Timings Symbol t1 t2 t3 t4 t5 t6 Parameter Clock High Pulse Width when CLKIN=48 MHz Clock Low Pulse Width when CLKIN=48 MHz Clock Period when CLKIN=48 MHz
1 1 1
Min. 8 8 20 18 18 40
1
Typ.
Max.
Unit nsec nsec
1
21
22
nsec nsec nsec
Clock High Pulse Width when CLKIN=24 MHz Clock Low Pulse Width when CLKIN=24 MHz Clock Period when CLKIN=24 MHz
1
42
44
nsec
1. Not tested in mass-production. Guaranteed by design.
t1, t4 2.2V
t2, t5
0.8V t3, t6
13.2 PCICLK and RESET Timings Symbol t1 t2 t3 t4 PCICLK Cycle Time PCICLK High Time PCICLK Low Time
1 1 1
Parameter
Min. 28 11 11 1.5
Typ.
Max.
Unit nsec nsec nsec sec
RESET High Pulse Width
1. Not tested in mass-production. Guaranteed by design.
t2 2.2V
t3 0.8V t1
t4
110
IT8673F
13.3 CPU Read Cycle Timings Symbol t1 t2 t3 t4 t5 Parameter Address setup to IOR# Address hold from IOR# IOR# pulse width Data valid to IOR# Output floating delay from IOR# Min. 10 10 100 25 25 65 50 Typ. Max. Unit nsec nsec nsec nsec nsec
A[15-0] AEN t1 IOR # t4 D[7:0]
13.4 CPU Write Cycle Timings Symbol t1 t2 t3 t4 t5 Parameter Address setup to IOW# Address hold from IOW# IOW# pulse width Data setup to IOW# Data hold from IOR# Min. 10 10 100 25 15 Typ. Max. Unit nsec nsec nsec nsec nsec
t3
tt2 2
t5 Valid Data
A[15-0] AEN t1 IOW # t4 D[7:0] Valid Data t5 t3 t2
111
IT8673F
13.5 SERIRQ Timings Symbol t1 t2 t3 t4 t5 Float to Active Delay Output Valid Delay Active to Float Delay Input Setup Time Input Hold Time 9 3 Parameter Min. 3 12 6 Typ. Max. Unit nsec nsec nsec nsec nsec
PCICLK t1 SERIRQ (Output)
t2
t3
SERIRQ (Input)
Input Valid t4 t5
13.6 DMA Timings Symbol t1 t2 t3 t4 t5 Float to Active Delay Output Valid Delay Active to Float Delay Input Setup Time Input Hold Time 9 3 Parameter Min. 3 12 6 Typ. Max. Unit nsec nsec nsec nsec nsec
TC t4 DRQx t1 DACKx# t2,t3 IOR# IOW#
112
IT8673F
13.7 Floppy Disk Drive Timings Symbol t1 t2 t3 t4 t5 t6 t7 Parameter DIR# active to STEP# low STEP# active time (low) DIR# hold time after STEP# STEP# cycle time INDEX# low pulse width RDATA# low pulse width WDATA# low pulse width 2X tmclk 40 1X tmclk Min. Typ. 4X Note1 tmclk 24X tmclk
Note2 tSRT
Max.
Unit nsec nsec msec msec nsec nsec nsec
tSRT
Note 1: tmclk is the cycle of main clock for the microcontroller of FDC. 1/ tmclk =8M/ 4M/ 2.4M/ 2M hz for 1M/ 500K/ 300K/ 250 Kbps transfer rates respectively. Note 2: tSRT is the cycle of the Step Rate Time. Please refer to the functional description of the SPECIFY command of the FDC.
t3 DIR# t2 t1 STEP# t5 INDEX# t6 RDATA# t7 WDATA# t4
113
IT8673F
13.8 Serial Port, ASKIR, SIR and Consumer Remote Control Timings Symbol t1 t2 t3 Parameter Single Bit Time in Serial Port and ASKIR Modulation Signal Pulse Width in ASKIR Modulation Signal Period in ASKIR Conditions Transmitter Receiver Transmitter Receiver Transmitter Receiver Transmitter, Variable Transmitter, Fixed Receiver Min. tBTN - 25 950 500 1975 2000X(23/24) 2025 2000X(25/24)
Note1
Max. tBTN + 25 tBTN + 2% 1050
Unit nsec nsec nsec nsec nsec nsec nsec sec sec
tBTN - 2%
(3/16) x tBTN - 25 (3/16) x tBTN + 25 1.48 1 1.78
t4
SIR Signal Pulse Width
Note 1: tBTN is the nominal bit time in Serial Port, ASKIR, and SIR. It is determined by the setting on the Baud Rate Divisor registers.
Serial Port
t1
t2 Sharp-IR Consumer Remote Control t4 SIR
13.9 Modem Control Timings Symbol t1 Float to active delay
t3
Parameter
Min.
Typ.
Max. 40
Unit nsec
CTS1#, DSR1#, DCD1#, CTS2#, DSR2#, DCD2# Interrupt (Internal signal) RI1#, RI2# t1
(Read MSR)
t1
(Read MSR)
t1
114
IT8673F
13.10 EPP Address or Data Write Cycle Timings Symbol t1 t2 t3 t4 t5 t6 Parameter WRITE# asserted to PD[7:0] valid ASTB# or DSTB# asserted to WAIT# de-asserted WAIT# de-asserted to ASTB# or DSTB# de-asserted ASTB# or DSTB# de-asserted to WAIT# asserted WAIT# asserted to WRITE# de-asserted PD[7:0] invalid after WRITE# de-asserted
WRITE# t3 ASTB# DSTB# t2 WAIT# t1 PD[ 7:0 ] t5 t4 t6
Min.
Typ.
Max. 50
Unit nsec nsec nsec nsec nsec nsec
0 65 0 65 0
10 135
13.11 EPP Address or Data Read Cycle Timings Symbol t1 t2 t3 t4 t5 t6 Parameter ASTB# or DSTB# asserted to WAIT# de-asserted ASTB# or DSTB# asserted to PD[7:0] Hi-Z PD[7:0] valid to WAIT# de-asserted WAIT# de-asserted to ASTB# or DSTB# de-asserted ASTB# or DSTB# de-asserted to WAIT# asserted PD[7:0] invalid after ASTB# or DSTB# de-asserted
WRITE# ASTB# DSTB# t1 WAIT# t2 PD[ 7:0 ] t3 t6 t4 t5
Min.
Typ.
Max. 10
Unit nsec nsec nsec
0 0 65 0 20 135
nsec nsec nsec
115
IT8673F
13.12 ECP Parallel Port Forward Timings Symbol t1 t2 t3 t4 t5 t6 Parameter PD[7:0] and nAutoFd valid to nStrobe asserted nStrobe asserted to Busy asserted Busy asserted to nStrobe de-asserted nStrobe de-asserted to Busy de-asserted Busy de-asserted to PD[7:0] and nAutoFd changed Busy de-asserted to nStrobe asserted 0 70 0 80 70 180 170 170 Min. Typ. Max. 50 Unit nsec nsec nsec nsec nsec nsec
PD[7:0], nAutoFd t1 nStrobe t2 Busy
13.13 ECP Parallel Port Backward Timings Symbol t1 t2 t3 t4 t5 t6 Parameter PD[7:0] valid to nAck asserted nAck asserted to nAutoFd asserted nAutoFd asserted to nAck de-asserted nAck de-asserted to nAutoFd de-asserted nAutoFd de-asserted to PD[7:0] changed nAutoFd de-asserted to nAck asserted Min. 0 70 0 70 0 0 170 170 Typ. Max. Unit nsec nsec nsec nsec nsec nsec
t5
t3
t4
t6
PD[7:0] t1 nAck t2 nAutoFd t3 t4 t6 t5
116
IT8673F
14. Package Information
QFP 128L Outline Dimensions unit: inches/mm
D D1 102 103 65 B 64 C E1 E
BASE METAL WITH PLATING
DETAIL "A" 128 1 e 38 39 B
SEE DETAIL "F"
A2
A
GAGE PLANE 0.10 y DETAIL "A" SEATING PLANE
A1
y
L L1 DETAIL "F"
Symbol A A1 A2 B C D D1 E E1 e L L1 y
Dimension in inch Min. Nom. Max. 0.134 0.010 0.107 0.112 0.117 0.007 0.009 0.011 0.004 0.008 0.906 0.913 0.921 0.783 0.787 0.791 0.669 0.677 0.685 0.547 0.551 0.555 0.020 BSC 0.029 0.035 0.041 0.063 BSC 0.004 0 7
D
Dimension in mm Min. Nom. Max. 3.40 0.25 2.73 2.85 2.97 0.17 0.22 0.27 0.09 0.20 23.00 23.20 23.40 19.90 20.00 20.10 17.00 17.20 17.40 13.90 14.00 14.10 0.5 BSC 0.73 0.88 1.03 1.60 BSC 0.10 0 7
Notes: 1. DIMENSIONS D1 AND E1 DO NOT INCLUDE MOLD PROTRUSION. BUT MOLD MISMATCH IS INCLUDED.
2. DIMENSIONS B DOES NOT INCLUDE DAMBAR PROTRUSION. 3. CONTROLLING DIMENSION: MILLIMETER
117
IT8673F
15. Ordering Information
Part No.
IT8673F
Package
128L QFP
118


▲Up To Search▲   

 
Price & Availability of IT8673F

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X